Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001524/0.001524, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001563/0.001563, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.448/1.448, allocations: 227.7 MB / 247.7 MB, free: 10.42 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 72.59 kB / 307.9 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1216, allocations: 50.53 MB / 358.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003245/0.1249, allocations: 1.583 MB / 360 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.126, allocations: 0.5648 MB / 360.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.1261, allocations: 4 kB / 360.6 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.663e-05/0.1262, allocations: 7.922 kB / 360.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.1263, allocations: 11.88 kB / 360.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.1267, allocations: 67.8 kB / 360.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.1268, allocations: 43.86 kB / 360.7 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1269, allocations: 28.14 kB / 360.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1271, allocations: 31.78 kB / 360.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.327e-05/0.1271, allocations: 19.92 kB / 360.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1272, allocations: 4 kB / 360.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.169e-05/0.1272, allocations: 8 kB / 360.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.1273, allocations: 11.94 kB / 360.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.1273, allocations: 31.72 kB / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.1275, allocations: 59.8 kB / 360.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1275, allocations: 7.938 kB / 360.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1275, allocations: 4 kB / 360.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1275, allocations: 0 / 360.9 MB, free: 11.47 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005417/0.1281, allocations: 379.3 kB / 361.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1281, allocations: 12.03 kB / 361.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.1283, allocations: 16.83 kB / 361.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1285, allocations: 199.7 kB / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1285, allocations: 4.375 kB / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.1286, allocations: 11.94 kB / 361.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003065/0.1289, allocations: 109.9 kB / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.1289, allocations: 0 / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1289, allocations: 0 / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1289, allocations: 0 / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.996e-05/0.129, allocations: 31.92 kB / 361.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.1294, allocations: 278.5 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.1295, allocations: 71.8 kB / 362 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.975e-05/0.1296, allocations: 30.62 kB / 362 MB, free: 10.15 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.1296, allocations: 7.984 kB / 362 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.1297, allocations: 30.56 kB / 362.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1297, allocations: 3.938 kB / 362.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002916/0.13, allocations: 93.5 kB / 362.2 MB, free: 10 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.1301, allocations: 102.8 kB / 362.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.1302, allocations: 149.7 kB / 362.4 MB, free: 9.723 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1303, allocations: 25.7 kB / 362.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.1303, allocations: 96.41 kB / 362.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.1304, allocations: 4 kB / 362.5 MB, free: 9.59 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.1304, allocations: 17.72 kB / 362.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1306, allocations: 322.8 kB / 362.9 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.197e-05/0.1306, allocations: 4 kB / 362.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.756e-05/0.1307, allocations: 39.36 kB / 362.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.547e-05/0.1308, allocations: 47.42 kB / 363 MB, free: 9.129 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.1308, allocations: 0 / 363 MB, free: 9.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001465/0.1309, allocations: 81.39 kB / 363 MB, free: 9.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.131, allocations: 4 kB / 363 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.131, allocations: 4.125 kB / 363 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.131, allocations: 4 kB / 363 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.528e-05/0.1311, allocations: 7.984 kB / 363.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1311, allocations: 4 kB / 363.1 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.115e-05/0.1311, allocations: 3.938 kB / 363.1 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1311, allocations: 4 kB / 363.1 MB, free: 9.012 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.858e-05/0.1312, allocations: 117.8 kB / 363.2 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.1314, allocations: 53.59 kB / 363.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.1314, allocations: 19.88 kB / 363.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1314, allocations: 0 / 363.3 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1314, allocations: 3.984 kB / 363.3 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1314, allocations: 3.938 kB / 363.3 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.1316, allocations: 173.7 kB / 363.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1317, allocations: 0 / 363.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.1317, allocations: 15.92 kB / 363.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1317, allocations: 4 kB / 363.5 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1317, allocations: 0 / 363.5 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1317, allocations: 0 / 363.5 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1318, allocations: 4 kB / 363.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.132, allocations: 181.1 kB / 363.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.1321, allocations: 89.14 kB / 363.7 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.1321, allocations: 4 kB / 363.7 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.1322, allocations: 7.984 kB / 363.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.1322, allocations: 11.92 kB / 363.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.1322, allocations: 4 kB / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.101e-05/0.1323, allocations: 108.5 kB / 363.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1323, allocations: 0 / 363.9 MB, free: 8.117 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.1325, allocations: 8 kB / 363.9 MB, free: 8.109 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001217/0.1327, allocations: 103.2 kB / 364 MB, free: 8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001588/0.1328, allocations: 36.11 kB / 364 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1328, allocations: 0 / 364 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.861e-05/0.1329, allocations: 7.984 kB / 364 MB, free: 7.957 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.1333, allocations: 31.27 kB / 364 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/0.1338, allocations: 214.1 kB / 364.2 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.1341, allocations: 0.7001 MB / 364.9 MB, free: 6.957 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.1341, allocations: 7.438 kB / 365 MB, free: 6.949 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1342, allocations: 0 / 365 MB, free: 6.949 MB / 302.1 MB Notification: Performance of Templates: time 0.002646/0.1368, allocations: 0.8468 MB / 365.8 MB, free: 6.105 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches