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.001277/0.001277, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001487, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 55.22 kB / 306.9 MB, free: 0.6484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1316, allocations: 50.54 MB / 357.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004475/0.1362, allocations: 1.883 MB / 359.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.1387, allocations: 1.301 MB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.139, allocations: 7.938 kB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004529/0.1395, allocations: 63.67 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005808/0.1401, allocations: 135.4 kB / 360.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1411, allocations: 230.8 kB / 361.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.1415, allocations: 175.5 kB / 361.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.1416, allocations: 33.52 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.1418, allocations: 75.64 kB / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.142, allocations: 79.67 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.142, allocations: 8 kB / 361.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002381/0.1423, allocations: 67.95 kB / 361.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1424, allocations: 59.72 kB / 361.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.8e-05/0.1425, allocations: 75.47 kB / 361.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004546/0.1429, allocations: 235.5 kB / 361.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.143, allocations: 3.938 kB / 361.9 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.368e-06/0.143, allocations: 3.984 kB / 361.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.143, allocations: 0 / 361.9 MB, free: 9.668 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.0009428/0.1439, allocations: 0.5272 MB / 362.4 MB, free: 9.086 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.144, allocations: 15.97 kB / 362.4 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.1441, allocations: 32.66 kB / 362.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.1445, allocations: 283.6 kB / 362.7 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.1446, allocations: 8.375 kB / 362.7 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.1446, allocations: 8.125 kB / 362.7 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.145, allocations: 159.6 kB / 362.9 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.145, allocations: 0 / 362.9 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1451, allocations: 4 kB / 362.9 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1451, allocations: 0 / 362.9 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.1452, allocations: 43.89 kB / 363 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.1459, allocations: 390.3 kB / 363.3 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000283/0.1462, allocations: 111.9 kB / 363.4 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.22e-05/0.1463, allocations: 42.56 kB / 363.5 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.1463, allocations: 11.98 kB / 363.5 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.1466, allocations: 71.39 kB / 363.6 MB, free: 7.758 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 2.093e-06/0.1466, allocations: 3.938 kB / 363.6 MB, free: 7.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005063/0.1471, allocations: 153.3 kB / 363.7 MB, free: 7.598 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.1473, allocations: 166.5 kB / 363.9 MB, free: 7.398 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004733/0.1478, allocations: 342.6 kB / 364.2 MB, free: 7.051 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.1478, allocations: 25.7 kB / 364.2 MB, free: 7.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.148, allocations: 124.1 kB / 364.4 MB, free: 6.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.148, allocations: 11.81 kB / 364.4 MB, free: 6.883 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1481, allocations: 33.7 kB / 364.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.1483, allocations: 342.7 kB / 364.7 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.1484, allocations: 27.98 kB / 364.8 MB, free: 6.473 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.1486, allocations: 82.8 kB / 364.8 MB, free: 6.367 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.1487, allocations: 88.2 kB / 364.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1488, allocations: 0 / 364.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002844/0.149, allocations: 129.6 kB / 365.1 MB, free: 6.133 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.1491, allocations: 10.91 kB / 365.1 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1491, allocations: 4 kB / 365.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.1491, allocations: 0 / 365.1 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.1493, allocations: 19.98 kB / 365.1 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.1493, allocations: 4.125 kB / 365.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.329e-05/0.1494, allocations: 7.938 kB / 365.1 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.1494, allocations: 4.047 kB / 365.1 MB, free: 6.086 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.0002114/0.1496, allocations: 169.6 kB / 365.3 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.1498, allocations: 61.42 kB / 365.3 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.767e-05/0.1499, allocations: 33.64 kB / 365.4 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1499, allocations: 0 / 365.4 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-05/0.1499, allocations: 4.062 kB / 365.4 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.1499, allocations: 11.92 kB / 365.4 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.1502, allocations: 241.5 kB / 365.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1502, allocations: 0 / 365.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.1503, allocations: 15.92 kB / 365.6 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.1503, allocations: 4 kB / 365.6 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.1503, allocations: 4 kB / 365.6 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1503, allocations: 4 kB / 365.6 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1503, allocations: 0 / 365.6 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.1506, allocations: 170.4 kB / 365.8 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.1508, allocations: 108.9 kB / 365.9 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.1508, allocations: 4 kB / 365.9 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/0.1509, allocations: 4 kB / 365.9 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.689e-05/0.151, allocations: 15.92 kB / 365.9 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.151, allocations: 7.938 kB / 366 MB, free: 5.137 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002775/0.1513, allocations: 245.9 kB / 366.2 MB, free: 4.898 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1513, allocations: 8 kB / 366.2 MB, free: 4.891 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002965/0.1516, allocations: 28 kB / 366.2 MB, free: 4.863 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.001162/0.1528, allocations: 414 kB / 366.6 MB, free: 4.582 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.1531, allocations: 79.84 kB / 366.7 MB, free: 4.504 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.1531, allocations: 4 kB / 366.7 MB, free: 4.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.662e-05/0.1532, allocations: 28.23 kB / 366.7 MB, free: 4.473 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.1536, allocations: 77.97 kB / 366.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007217/0.1544, allocations: 369.2 kB / 367.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1547, allocations: 0.7475 MB / 367.9 MB, free: 3.242 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001073/0.1548, allocations: 33.52 kB / 368 MB, free: 3.207 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.1549, allocations: 19.44 kB / 368 MB, free: 3.191 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1549, allocations: 0 / 368 MB, free: 3.191 MB / 302.1 MB Notification: Performance of Templates: time 0.007814/0.1627, allocations: 2.836 MB / 370.8 MB, free: 384 kB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/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