Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001605/0.001605, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001656/0.001656, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 247.1 MB, free: 10.68 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 59.27 kB / 307.1 MB, free: 0.8867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.118, allocations: 50.54 MB / 357.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003942/0.1219, allocations: 1.956 MB / 359.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.1242, allocations: 1.274 MB / 360.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.1243, allocations: 0 / 360.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.1247, allocations: 59.8 kB / 361 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003566/0.125, allocations: 123.6 kB / 361.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.1257, allocations: 199.4 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000263/0.126, allocations: 183.5 kB / 361.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1261, allocations: 41.52 kB / 361.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1263, allocations: 71.64 kB / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.1264, allocations: 83.67 kB / 361.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.1264, allocations: 8 kB / 361.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.1266, allocations: 63.91 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1267, allocations: 55.77 kB / 361.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.318e-05/0.1268, allocations: 75.48 kB / 361.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.1271, allocations: 184 kB / 362 MB, free: 9.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1271, allocations: 4 kB / 362 MB, free: 9.977 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1271, allocations: 0 / 362 MB, free: 9.977 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.1271, allocations: 0 / 362 MB, free: 9.977 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008392/0.128, allocations: 0.5414 MB / 362.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.128, allocations: 12.03 kB / 362.6 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.1281, allocations: 20.66 kB / 362.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.1285, allocations: 287.5 kB / 362.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1285, allocations: 8.375 kB / 362.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.1286, allocations: 8.125 kB / 362.9 MB, free: 9.016 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.129, allocations: 163.5 kB / 363.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.129, allocations: 0 / 363.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.129, allocations: 4 kB / 363.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.129, allocations: 4 kB / 363.1 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.1291, allocations: 43.84 kB / 363.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005917/0.1297, allocations: 386.3 kB / 363.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.13, allocations: 119.9 kB / 363.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1301, allocations: 42.56 kB / 363.6 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.1302, allocations: 8 kB / 363.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.1305, allocations: 79.31 kB / 363.7 MB, free: 8.051 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.1305, allocations: 0 / 363.7 MB, free: 8.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004336/0.1309, allocations: 157.3 kB / 363.9 MB, free: 7.891 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.131, allocations: 154.2 kB / 364 MB, free: 7.703 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.1315, allocations: 338.6 kB / 364.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.1315, allocations: 29.95 kB / 364.4 MB, free: 7.328 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1316, allocations: 132.1 kB / 364.5 MB, free: 7.195 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/0.1317, allocations: 19.88 kB / 364.5 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.1317, allocations: 29.7 kB / 364.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1319, allocations: 338.8 kB / 364.9 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.638e-05/0.132, allocations: 19.98 kB / 364.9 MB, free: 6.781 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.1321, allocations: 90.8 kB / 365 MB, free: 6.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.1323, allocations: 80.22 kB / 365.1 MB, free: 6.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1323, allocations: 0 / 365.1 MB, free: 6.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002596/0.1326, allocations: 137.2 kB / 365.2 MB, free: 6.434 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1326, allocations: 4 kB / 365.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1326, allocations: 7.938 kB / 365.2 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1327, allocations: 0 / 365.2 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.1328, allocations: 20.3 kB / 365.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1328, allocations: 0 / 365.3 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.718e-05/0.1329, allocations: 7.938 kB / 365.3 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.1329, allocations: 15.98 kB / 365.3 MB, free: 6.379 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001692/0.1331, allocations: 165.8 kB / 365.4 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.11e-05/0.1332, allocations: 61.42 kB / 365.5 MB, free: 6.141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.1332, allocations: 29.7 kB / 365.5 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1332, allocations: 0 / 365.5 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1333, allocations: 0 / 365.5 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.1333, allocations: 11.97 kB / 365.5 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.1335, allocations: 241.5 kB / 365.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1335, allocations: 0 / 365.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.524e-05/0.1336, allocations: 11.94 kB / 365.8 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1336, allocations: 12.05 kB / 365.8 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1337, allocations: 4 kB / 365.8 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1337, allocations: 4 kB / 365.8 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1337, allocations: 0 / 365.8 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.134, allocations: 166.3 kB / 366 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.1341, allocations: 112.9 kB / 366.1 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.1341, allocations: 7.984 kB / 366.1 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.726e-05/0.1342, allocations: 4 kB / 366.1 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.1343, allocations: 11.98 kB / 366.1 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.1343, allocations: 7.938 kB / 366.1 MB, free: 5.438 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002609/0.1345, allocations: 241.9 kB / 366.3 MB, free: 5.203 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1345, allocations: 0 / 366.3 MB, free: 5.203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002723/0.1348, allocations: 39.98 kB / 366.4 MB, free: 5.164 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001561/0.1364, allocations: 426.7 kB / 366.8 MB, free: 4.875 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.1367, allocations: 75.84 kB / 366.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1367, allocations: 0 / 366.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.564e-05/0.1368, allocations: 31.98 kB / 366.9 MB, free: 4.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.1372, allocations: 64.84 kB / 367 MB, free: 4.715 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.1379, allocations: 455.1 kB / 367.4 MB, free: 4.234 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.1384, allocations: 0.7475 MB / 368.2 MB, free: 3.461 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.31e-05/0.1384, allocations: 23.38 kB / 368.2 MB, free: 3.441 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1384, allocations: 0 / 368.2 MB, free: 3.441 MB / 302.1 MB Notification: Performance of Templates: time 0.005818/0.1443, allocations: 2.95 MB / 371.1 MB, free: 0.5 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches