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.001416/0.001416, allocations: 104 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001661/0.001661, allocations: 209.7 kB / 18.14 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 227.4 MB / 246.3 MB, free: 10.85 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 63.09 kB / 306.3 MB, free: 1.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1309, allocations: 50.53 MB / 356.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004714/0.1357, allocations: 1.957 MB / 358.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002508/0.1383, allocations: 1.282 MB / 360 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.1384, allocations: 3.938 kB / 360 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004226/0.1389, allocations: 63.8 kB / 360.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.1392, allocations: 115.6 kB / 360.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006347/0.1399, allocations: 203 kB / 360.4 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.1401, allocations: 167.5 kB / 360.6 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.1403, allocations: 29.53 kB / 360.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.1404, allocations: 67.64 kB / 360.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.1405, allocations: 83.61 kB / 360.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.1406, allocations: 8 kB / 360.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.1407, allocations: 51.97 kB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.1409, allocations: 47.83 kB / 360.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.964e-05/0.141, allocations: 75.42 kB / 360.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.1414, allocations: 235.5 kB / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1414, allocations: 0 / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1414, allocations: 0 / 361.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1414, allocations: 0 / 361.2 MB, free: 10.15 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.000981/0.1424, allocations: 0.5389 MB / 361.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.1425, allocations: 8.031 kB / 361.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.108e-05/0.1426, allocations: 28.66 kB / 361.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.143, allocations: 287.6 kB / 362 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.143, allocations: 4.375 kB / 362 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.1431, allocations: 12.12 kB / 362 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.1434, allocations: 155.6 kB / 362.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1435, allocations: 0 / 362.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1435, allocations: 0 / 362.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1435, allocations: 7.938 kB / 362.2 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.1436, allocations: 35.91 kB / 362.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.1442, allocations: 394.3 kB / 362.6 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.1445, allocations: 115.9 kB / 362.7 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.1446, allocations: 50.56 kB / 362.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.1447, allocations: 8.047 kB / 362.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.1449, allocations: 75.39 kB / 362.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1449, allocations: 0 / 362.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004312/0.1453, allocations: 157.5 kB / 363 MB, free: 8.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.976e-05/0.1454, allocations: 158.2 kB / 363.2 MB, free: 7.879 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.1458, allocations: 342.6 kB / 363.5 MB, free: 7.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.1459, allocations: 33.7 kB / 363.5 MB, free: 7.496 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.146, allocations: 124.1 kB / 363.6 MB, free: 7.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.146, allocations: 19.8 kB / 363.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.1461, allocations: 29.72 kB / 363.7 MB, free: 7.316 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1462, allocations: 334.8 kB / 364 MB, free: 6.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-05/0.1463, allocations: 27.98 kB / 364 MB, free: 6.953 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1465, allocations: 86.8 kB / 364.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.1466, allocations: 88.2 kB / 364.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1466, allocations: 0 / 364.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002173/0.1469, allocations: 121.3 kB / 364.3 MB, free: 6.617 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1469, allocations: 4 kB / 364.3 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1469, allocations: 0 / 364.3 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.1469, allocations: 4 kB / 364.3 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.147, allocations: 24.05 kB / 364.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.1471, allocations: 4 kB / 364.4 MB, free: 6.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.671e-05/0.1471, allocations: 11.94 kB / 364.4 MB, free: 6.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1472, allocations: 4 kB / 364.4 MB, free: 6.566 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.0001609/0.1473, allocations: 170 kB / 364.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.469e-05/0.1474, allocations: 65.36 kB / 364.6 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/0.1475, allocations: 21.7 kB / 364.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1475, allocations: 4.062 kB / 364.6 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1475, allocations: 4 kB / 364.6 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1475, allocations: 7.922 kB / 364.7 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.1478, allocations: 245.5 kB / 364.9 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1478, allocations: 0 / 364.9 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.914e-05/0.1478, allocations: 15.92 kB / 364.9 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1479, allocations: 0 / 364.9 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.1479, allocations: 4 kB / 364.9 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1479, allocations: 3.938 kB / 364.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1479, allocations: 0 / 364.9 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.1482, allocations: 174.3 kB / 365.1 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.419e-05/0.1483, allocations: 112.9 kB / 365.2 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.1483, allocations: 4 kB / 365.2 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.348e-05/0.1484, allocations: 4 kB / 365.2 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.1485, allocations: 11.98 kB / 365.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.1485, allocations: 7.938 kB / 365.2 MB, free: 5.621 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002274/0.1487, allocations: 253.9 kB / 365.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1487, allocations: 0 / 365.5 MB, free: 5.375 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.149, allocations: 32 kB / 365.5 MB, free: 5.344 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.00101/0.15, allocations: 422.1 kB / 365.9 MB, free: 5.059 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.1503, allocations: 75.84 kB / 366 MB, free: 4.984 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1503, allocations: 256 / 366 MB, free: 4.984 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.1504, allocations: 31.98 kB / 366 MB, free: 4.953 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.1508, allocations: 66.14 kB / 366.1 MB, free: 4.891 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.1514, allocations: 418.9 kB / 366.5 MB, free: 4.449 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1517, allocations: 0.7478 MB / 367.2 MB, free: 3.676 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.363e-05/0.1518, allocations: 25.53 kB / 367.3 MB, free: 3.648 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.1518, allocations: 19.44 kB / 367.3 MB, free: 3.633 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1518, allocations: 0 / 367.3 MB, free: 3.633 MB / 302.1 MB Notification: Performance of Templates: time 0.006014/0.1578, allocations: 2.724 MB / 370 MB, free: 0.9297 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/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