Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 94.86 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 182.1 kB / 17.19 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.2 MB / 241.1 MB, free: 5.34 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003236, allocations: 13.53 kB / 300.7 MB, free: 6.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1267, allocations: 50.43 MB / 351.1 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002732/0.1295, allocations: 1.534 MB / 352.7 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1316, allocations: 1.033 MB / 353.7 MB, free: 9.051 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.1318, allocations: 4 kB / 353.7 MB, free: 9.047 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.1322, allocations: 59.73 kB / 353.8 MB, free: 8.988 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.1324, allocations: 71.83 kB / 353.8 MB, free: 8.918 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007077/0.1332, allocations: 222.2 kB / 354.1 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.1334, allocations: 103.8 kB / 354.2 MB, free: 8.602 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1335, allocations: 25.83 kB / 354.2 MB, free: 8.578 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1336, allocations: 63.7 kB / 354.3 MB, free: 8.516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.1337, allocations: 55.75 kB / 354.3 MB, free: 8.461 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1337, allocations: 4 kB / 354.3 MB, free: 8.457 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.1339, allocations: 51.83 kB / 354.4 MB, free: 8.406 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.792e-05/0.134, allocations: 35.91 kB / 354.4 MB, free: 8.371 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.541e-05/0.134, allocations: 53.58 kB / 354.4 MB, free: 8.312 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1343, allocations: 171.6 kB / 354.6 MB, free: 8.145 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1343, allocations: 4 kB / 354.6 MB, free: 8.141 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1343, allocations: 0 / 354.6 MB, free: 8.141 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1343, allocations: 0 / 354.6 MB, free: 8.141 MB / 286.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.0007377/0.135, allocations: 0.5038 MB / 355.1 MB, free: 7.582 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1351, allocations: 8.031 kB / 355.1 MB, free: 7.574 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.1352, allocations: 27.67 kB / 355.2 MB, free: 7.547 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.1356, allocations: 262.6 kB / 355.4 MB, free: 7.254 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.1356, allocations: 8 kB / 355.4 MB, free: 7.246 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.1356, allocations: 8 kB / 355.4 MB, free: 7.238 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.136, allocations: 155.6 kB / 355.6 MB, free: 7.059 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.136, allocations: 3.938 kB / 355.6 MB, free: 7.055 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.136, allocations: 4 kB / 355.6 MB, free: 7.051 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.136, allocations: 8 kB / 355.6 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.1361, allocations: 35.92 kB / 355.6 MB, free: 7.008 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.1367, allocations: 382.3 kB / 356 MB, free: 6.578 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.137, allocations: 123.8 kB / 356.1 MB, free: 6.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.137, allocations: 4 kB / 356.1 MB, free: 6.426 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.1372, allocations: 83.39 kB / 356.2 MB, free: 6.332 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.1373, allocations: 4 kB / 356.2 MB, free: 6.328 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003878/0.1376, allocations: 157.3 kB / 356.4 MB, free: 6.168 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.259e-05/0.1377, allocations: 154.2 kB / 356.5 MB, free: 5.98 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003477/0.1381, allocations: 326.7 kB / 356.8 MB, free: 5.648 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.1381, allocations: 29.7 kB / 356.9 MB, free: 5.613 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.1382, allocations: 128 kB / 357 MB, free: 5.484 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1383, allocations: 12.14 kB / 357 MB, free: 5.473 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.1383, allocations: 8 kB / 357 MB, free: 5.465 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1384, allocations: 330.8 kB / 357.3 MB, free: 5.133 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.92e-05/0.1385, allocations: 23.98 kB / 357.4 MB, free: 5.109 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1386, allocations: 86.78 kB / 357.4 MB, free: 5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.767e-05/0.1387, allocations: 31.98 kB / 357.5 MB, free: 4.969 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1387, allocations: 0 / 357.5 MB, free: 4.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002158/0.1389, allocations: 125.3 kB / 357.6 MB, free: 4.84 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.139, allocations: 10.19 kB / 357.6 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.139, allocations: 3.953 kB / 357.6 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.139, allocations: 8.125 kB / 357.6 MB, free: 4.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.1391, allocations: 15.98 kB / 357.6 MB, free: 4.805 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.1391, allocations: 4 kB / 357.6 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.016e-05/0.1392, allocations: 7.938 kB / 357.6 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1392, allocations: 11.94 kB / 357.7 MB, free: 4.781 MB / 286.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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.1394, allocations: 149.8 kB / 357.8 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/0.1395, allocations: 65.36 kB / 357.9 MB, free: 4.555 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.634e-05/0.1395, allocations: 29.77 kB / 357.9 MB, free: 4.527 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.1395, allocations: 7.953 kB / 357.9 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1395, allocations: 0 / 357.9 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1396, allocations: 3.984 kB / 357.9 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.1398, allocations: 237.6 kB / 358.1 MB, free: 4.234 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1398, allocations: 0 / 358.1 MB, free: 4.234 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-05/0.1398, allocations: 12 kB / 358.2 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1399, allocations: 0 / 358.2 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1399, allocations: 7.922 kB / 358.2 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1399, allocations: 4 kB / 358.2 MB, free: 4.211 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1399, allocations: 3.953 kB / 358.2 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.1402, allocations: 194.2 kB / 358.4 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.1403, allocations: 120.8 kB / 358.5 MB, free: 3.844 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.1403, allocations: 4 kB / 358.5 MB, free: 3.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.1404, allocations: 8 kB / 358.5 MB, free: 3.832 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.1405, allocations: 11.98 kB / 358.5 MB, free: 3.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.1405, allocations: 4 kB / 358.5 MB, free: 3.816 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002284/0.1407, allocations: 241.9 kB / 358.7 MB, free: 3.582 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1408, allocations: 0 / 358.7 MB, free: 3.582 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.141, allocations: 39.94 kB / 358.8 MB, free: 3.543 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009829/0.142, allocations: 422.1 kB / 359.2 MB, free: 3.285 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.1423, allocations: 79.91 kB / 359.3 MB, free: 3.207 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1423, allocations: 0 / 359.3 MB, free: 3.207 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.1424, allocations: 27.98 kB / 359.3 MB, free: 3.18 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.1427, allocations: 60.36 kB / 359.4 MB, free: 3.121 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000608/0.1433, allocations: 392.7 kB / 359.7 MB, free: 2.703 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.1436, allocations: 0.7439 MB / 360.5 MB, free: 1.934 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.59e-05/0.1437, allocations: 25.53 kB / 360.5 MB, free: 1.902 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.1438, allocations: 27.42 kB / 360.5 MB, free: 1.875 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1438, allocations: 0 / 360.5 MB, free: 1.875 MB / 286.1 MB Notification: Performance of Templates: time 0.006105/0.1499, allocations: 2.585 MB / 363.1 MB, free: 15.32 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches