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.00151/0.00151, allocations: 121.3 kB / 17.99 MB, free: 5.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, 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.491/1.491, allocations: 227.4 MB / 247.1 MB, free: 10.82 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 60.66 kB / 307.1 MB, free: 0.9766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.121, allocations: 50.53 MB / 357.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004749/0.1259, allocations: 1.95 MB / 359.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.1282, allocations: 1.266 MB / 360.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.1284, allocations: 7.938 kB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003981/0.1288, allocations: 59.8 kB / 360.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004681/0.1293, allocations: 123.6 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008001/0.1301, allocations: 199 kB / 361.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003273/0.1305, allocations: 187.5 kB / 361.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1306, allocations: 29.55 kB / 361.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1308, allocations: 79.62 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.1309, allocations: 79.69 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.131, allocations: 8 kB / 361.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.1312, allocations: 59.95 kB / 361.7 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.1313, allocations: 55.77 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.1314, allocations: 83.42 kB / 361.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.1317, allocations: 180 kB / 362 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1317, allocations: 4 kB / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.606e-06/0.1317, allocations: 0 / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1318, allocations: 7.938 kB / 362 MB, free: 10.05 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.001001/0.1328, allocations: 0.5375 MB / 362.5 MB, free: 9.465 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.1328, allocations: 8.031 kB / 362.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.1329, allocations: 24.66 kB / 362.6 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004728/0.1334, allocations: 291.5 kB / 362.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.1335, allocations: 4.375 kB / 362.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1335, allocations: 12.06 kB / 362.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.1339, allocations: 159.5 kB / 363 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1339, allocations: 0 / 363 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.1339, allocations: 4 kB / 363 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.134, allocations: 0 / 363 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.1341, allocations: 39.92 kB / 363.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.1348, allocations: 386.4 kB / 363.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.1351, allocations: 123.8 kB / 363.6 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.772e-05/0.1352, allocations: 50.55 kB / 363.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.1352, allocations: 0 / 363.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002894/0.1355, allocations: 83.45 kB / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.1355, allocations: 0 / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000444/0.136, allocations: 157.4 kB / 363.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.1361, allocations: 158.2 kB / 364 MB, free: 7.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.1365, allocations: 338.6 kB / 364.3 MB, free: 7.441 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1365, allocations: 29.95 kB / 364.4 MB, free: 7.406 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1367, allocations: 136.1 kB / 364.5 MB, free: 7.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.1367, allocations: 15.81 kB / 364.5 MB, free: 7.254 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-05/0.1368, allocations: 29.7 kB / 364.5 MB, free: 7.219 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1369, allocations: 338.8 kB / 364.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.758e-05/0.137, allocations: 20 kB / 364.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.1372, allocations: 86.84 kB / 365 MB, free: 6.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.1373, allocations: 88.16 kB / 365.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1374, allocations: 0 / 365.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002558/0.1376, allocations: 125.3 kB / 365.2 MB, free: 6.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1376, allocations: 15.06 kB / 365.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1377, allocations: 0 / 365.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1377, allocations: 0 / 365.2 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1378, allocations: 19.94 kB / 365.2 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.1378, allocations: 7.984 kB / 365.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.478e-05/0.1379, allocations: 11.94 kB / 365.2 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.1379, allocations: 4 kB / 365.2 MB, free: 6.465 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.0001468/0.1381, allocations: 161.8 kB / 365.4 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.946e-05/0.1382, allocations: 69.34 kB / 365.5 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.013e-05/0.1382, allocations: 25.7 kB / 365.5 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1383, allocations: 4 kB / 365.5 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1383, allocations: 0 / 365.5 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1383, allocations: 3.938 kB / 365.5 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.1385, allocations: 245.5 kB / 365.7 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1385, allocations: 4 kB / 365.7 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.436e-05/0.1386, allocations: 12.06 kB / 365.8 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1386, allocations: 0 / 365.8 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.1386, allocations: 16.05 kB / 365.8 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1386, allocations: 3.938 kB / 365.8 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1386, allocations: 0 / 365.8 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.1389, allocations: 166.4 kB / 365.9 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.139, allocations: 112.9 kB / 366 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.1391, allocations: 4 kB / 366 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.1392, allocations: 3.984 kB / 366.1 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.1392, allocations: 8 kB / 366.1 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.1393, allocations: 11.92 kB / 366.1 MB, free: 5.523 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002565/0.1395, allocations: 245.9 kB / 366.3 MB, free: 5.285 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1395, allocations: 0 / 366.3 MB, free: 5.285 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1398, allocations: 36 kB / 366.3 MB, free: 5.25 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.001343/0.1412, allocations: 429.2 kB / 366.8 MB, free: 4.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002957/0.1415, allocations: 79.83 kB / 366.8 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1415, allocations: 0 / 366.8 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.116e-05/0.1416, allocations: 27.98 kB / 366.9 MB, free: 4.855 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.1421, allocations: 60.31 kB / 366.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008675/0.1429, allocations: 467.1 kB / 367.4 MB, free: 4.309 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.1434, allocations: 0.7397 MB / 368.1 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.392e-05/0.1435, allocations: 19.44 kB / 368.1 MB, free: 3.527 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1435, allocations: 4 kB / 368.1 MB, free: 3.523 MB / 302.1 MB Notification: Performance of Templates: time 0.007038/0.1505, allocations: 2.952 MB / 371.1 MB, free: 0.582 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.0.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