Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 106.9 kB / 16.62 MB, free: 6.812 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.001116/0.001116, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.489/1.489, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00104/0.00104, allocations: 55.27 kB / 300.1 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1257, allocations: 49.45 MB / 349.6 MB, free: 4.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003844/0.1296, allocations: 1.96 MB / 351.5 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002002/0.1316, allocations: 1.134 MB / 352.7 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.1318, allocations: 3.938 kB / 352.7 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004184/0.1323, allocations: 63.8 kB / 352.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.1326, allocations: 91.7 kB / 352.8 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007495/0.1333, allocations: 233.1 kB / 353.1 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.1337, allocations: 183.5 kB / 353.2 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.1339, allocations: 29.55 kB / 353.3 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.134, allocations: 79.64 kB / 353.3 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.1342, allocations: 87.61 kB / 353.4 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.1342, allocations: 8 kB / 353.4 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.1343, allocations: 63.91 kB / 353.5 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.399e-05/0.1344, allocations: 59.83 kB / 353.6 MB, free: 0.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.1345, allocations: 75.42 kB / 353.6 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.1349, allocations: 243.5 kB / 353.9 MB, free: 448 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1349, allocations: 0 / 353.9 MB, free: 448 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.135, allocations: 0 / 353.9 MB, free: 448 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.135, allocations: 0 / 353.9 MB, free: 448 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008084/0.1358, allocations: 0.5466 MB / 354.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1358, allocations: 15.83 kB / 354.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.88e-05/0.1359, allocations: 28.64 kB / 354.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.1363, allocations: 291.6 kB / 354.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.1363, allocations: 4.375 kB / 354.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.1363, allocations: 12.12 kB / 354.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.1367, allocations: 183.7 kB / 354.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1367, allocations: 0 / 354.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.1367, allocations: 8 kB / 354.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1368, allocations: 0 / 354.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.1369, allocations: 39.92 kB / 355 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005889/0.1375, allocations: 399.2 kB / 355.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.1378, allocations: 146.5 kB / 355.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.491e-05/0.1379, allocations: 55.42 kB / 355.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.1379, allocations: 4 kB / 355.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.1381, allocations: 79.31 kB / 355.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.1382, allocations: 7.938 kB / 355.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004254/0.1386, allocations: 177.2 kB / 355.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.1387, allocations: 183.9 kB / 356 MB, free: 14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.1391, allocations: 334.7 kB / 356.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.1391, allocations: 29.7 kB / 356.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/0.1392, allocations: 132.7 kB / 356.5 MB, free: 13.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.1393, allocations: 19.73 kB / 356.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.1393, allocations: 33.72 kB / 356.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1395, allocations: 338.8 kB / 356.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.976e-05/0.1396, allocations: 23.98 kB / 356.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.1398, allocations: 104.5 kB / 357 MB, free: 12.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.14, allocations: 101.9 kB / 357.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.14, allocations: 0 / 357.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003551/0.1404, allocations: 145.2 kB / 357.2 MB, free: 12.67 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.1404, allocations: 4 kB / 357.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.1405, allocations: 0 / 357.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.1405, allocations: 4 kB / 357.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.1407, allocations: 19.98 kB / 357.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.1407, allocations: 4.188 kB / 357.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.1408, allocations: 11.94 kB / 357.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1408, allocations: 8 kB / 357.3 MB, free: 12.62 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001865/0.141, allocations: 157.8 kB / 357.5 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.1412, allocations: 77.34 kB / 357.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.48e-05/0.1413, allocations: 29.7 kB / 357.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1413, allocations: 4 kB / 357.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.1413, allocations: 96 / 357.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/0.1413, allocations: 11.88 kB / 357.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.1416, allocations: 241.5 kB / 357.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1416, allocations: 4.297 kB / 357.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.1418, allocations: 16 kB / 357.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1418, allocations: 3.938 kB / 357.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.1418, allocations: 11.98 kB / 357.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1418, allocations: 3.938 kB / 357.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1418, allocations: 4 kB / 357.9 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.1422, allocations: 183.4 kB / 358 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.1424, allocations: 116.8 kB / 358.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/0.1424, allocations: 4 kB / 358.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.1425, allocations: 4 kB / 358.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.187e-05/0.1426, allocations: 11.98 kB / 358.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.1427, allocations: 7.938 kB / 358.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003548/0.143, allocations: 245.9 kB / 358.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.143, allocations: 3.938 kB / 358.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004078/0.1435, allocations: 39.98 kB / 358.5 MB, free: 11.35 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.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 (11): * Single equations (assignments): 9 * 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.00156/0.145, allocations: 434 kB / 358.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.1454, allocations: 84.16 kB / 359 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1454, allocations: 4.062 kB / 359 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.1455, allocations: 27.98 kB / 359 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.1461, allocations: 84.52 kB / 359.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009562/0.1471, allocations: 442.1 kB / 359.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.1475, allocations: 0.7476 MB / 360.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.1477, allocations: 25.53 kB / 360.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.766e-05/0.1477, allocations: 27.42 kB / 360.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1477, allocations: 0 / 360.3 MB, free: 9.586 MB / 302.1 MB Notification: Performance of Templates: time 0.009308/0.1571, allocations: 3.015 MB / 363.3 MB, free: 6.605 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches