Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001447/0.001447, allocations: 116.2 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001635/0.001636, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 306.4 MB, free: 0.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1284, allocations: 50.53 MB / 357 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003565/0.132, allocations: 1.938 MB / 358.9 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.1341, allocations: 1.255 MB / 360.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1343, allocations: 3.938 kB / 360.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003329/0.1346, allocations: 63.8 kB / 360.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.135, allocations: 115.6 kB / 360.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000664/0.1356, allocations: 207.1 kB / 360.6 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.1359, allocations: 179.5 kB / 360.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.136, allocations: 33.52 kB / 360.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1361, allocations: 75.66 kB / 360.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1363, allocations: 79.67 kB / 360.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.1363, allocations: 8 kB / 360.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.1364, allocations: 75.89 kB / 361 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.127e-05/0.1365, allocations: 51.78 kB / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.462e-05/0.1366, allocations: 79.47 kB / 361.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.137, allocations: 243.5 kB / 361.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.137, allocations: 0 / 361.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.137, allocations: 0 / 361.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.137, allocations: 0 / 361.4 MB, free: 9.98 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.0007194/0.1377, allocations: 0.5311 MB / 361.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1378, allocations: 12.03 kB / 361.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.589e-05/0.1379, allocations: 32.59 kB / 361.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.1382, allocations: 279.6 kB / 362.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1382, allocations: 4.375 kB / 362.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.1383, allocations: 12.12 kB / 362.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.1386, allocations: 163.5 kB / 362.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1386, allocations: 0 / 362.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1386, allocations: 0 / 362.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1387, allocations: 4 kB / 362.4 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.1388, allocations: 35.97 kB / 362.4 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.1393, allocations: 386.3 kB / 362.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.1395, allocations: 115.9 kB / 362.9 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.203e-05/0.1396, allocations: 50.55 kB / 363 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.1397, allocations: 4 kB / 363 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.1399, allocations: 75.33 kB / 363 MB, free: 8.074 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1399, allocations: 0 / 363 MB, free: 8.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003953/0.1403, allocations: 161.3 kB / 363.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.213e-05/0.1404, allocations: 170.4 kB / 363.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.1407, allocations: 334.6 kB / 363.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1408, allocations: 33.7 kB / 363.7 MB, free: 7.332 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.541e-05/0.1409, allocations: 120.1 kB / 363.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.1409, allocations: 19.8 kB / 363.9 MB, free: 7.191 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.141, allocations: 29.72 kB / 363.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1411, allocations: 338.7 kB / 364.2 MB, free: 6.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.685e-05/0.1412, allocations: 31.92 kB / 364.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.1413, allocations: 90.91 kB / 364.3 MB, free: 6.672 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1414, allocations: 84.22 kB / 364.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1415, allocations: 0 / 364.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002142/0.1417, allocations: 125.3 kB / 364.5 MB, free: 6.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1417, allocations: 4 kB / 364.5 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.1417, allocations: 4 kB / 364.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1417, allocations: 0 / 364.6 MB, free: 6.438 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1419, allocations: 24.11 kB / 364.6 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1419, allocations: 7.938 kB / 364.6 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.1419, allocations: 7.938 kB / 364.6 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.142, allocations: 7.984 kB / 364.6 MB, free: 6.391 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,subSample1.y,subSample1.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.0001459/0.1421, allocations: 161.7 kB / 364.8 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-05/0.1422, allocations: 69.34 kB / 364.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.1423, allocations: 25.72 kB / 364.8 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1423, allocations: 3.984 kB / 364.9 MB, free: 6.121 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1423, allocations: 4.062 kB / 364.9 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1423, allocations: 7.938 kB / 364.9 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.1425, allocations: 237.5 kB / 365.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1425, allocations: 0 / 365.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.1426, allocations: 12.3 kB / 365.1 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1426, allocations: 4 kB / 365.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1426, allocations: 4 kB / 365.1 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1426, allocations: 4 kB / 365.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1426, allocations: 0 / 365.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.1429, allocations: 170.4 kB / 365.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-05/0.143, allocations: 112.9 kB / 365.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.143, allocations: 0 / 365.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.404e-05/0.1431, allocations: 8 kB / 365.4 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.1431, allocations: 7.984 kB / 365.4 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1432, allocations: 11.88 kB / 365.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002225/0.1434, allocations: 253.9 kB / 365.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1434, allocations: 3.938 kB / 365.7 MB, free: 5.207 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1437, allocations: 32 kB / 365.7 MB, free: 5.176 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,subSample1.y,sample1.y,subSample1.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.00124/0.1449, allocations: 432.7 kB / 366.1 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.1452, allocations: 67.91 kB / 366.2 MB, free: 4.816 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1452, allocations: 0 / 366.2 MB, free: 4.816 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.576e-05/0.1453, allocations: 40.17 kB / 366.2 MB, free: 4.777 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.1458, allocations: 57.67 kB / 366.3 MB, free: 4.723 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007447/0.1465, allocations: 421.1 kB / 366.7 MB, free: 4.281 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/0.1471, allocations: 0.7436 MB / 367.4 MB, free: 3.512 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.1472, allocations: 33.52 kB / 367.5 MB, free: 3.477 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.971e-05/0.1472, allocations: 27.42 kB / 367.5 MB, free: 3.453 MB / 302.1 MB Notification: Performance of SimCode: time 1.243e-06/0.1473, allocations: 0 / 367.5 MB, free: 3.453 MB / 302.1 MB Notification: Performance of Templates: time 0.007526/0.1548, allocations: 2.788 MB / 370.3 MB, free: 0.6836 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches