Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.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.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 91.5 kB / 16.65 MB, free: 6.59 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.001933/0.001933, allocations: 182.3 kB / 17.56 MB, free: 6.203 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.596/1.596, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.0003993, allocations: 11.94 kB / 301.4 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1155, allocations: 50.42 MB / 351.8 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002387/0.1179, allocations: 1.617 MB / 353.5 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.1197, allocations: 1.033 MB / 354.5 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.1199, allocations: 4 kB / 354.5 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.1205, allocations: 139.6 kB / 354.6 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.1207, allocations: 99.7 kB / 354.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005436/0.1213, allocations: 188.4 kB / 354.9 MB, free: 372 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.1216, allocations: 187.5 kB / 355.1 MB, free: 184 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1217, allocations: 37.59 kB / 355.1 MB, free: 148 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1218, allocations: 67.64 kB / 355.2 MB, free: 80 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.1219, allocations: 79.5 kB / 355.3 MB, free: 0 / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.122, allocations: 8.047 kB / 355.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.1221, allocations: 43.98 kB / 355.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.31e-05/0.1222, allocations: 35.83 kB / 355.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.503e-05/0.1223, allocations: 89.25 kB / 355.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.1226, allocations: 207.5 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1226, allocations: 0 / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1226, allocations: 0 / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1226, allocations: 0 / 355.6 MB, free: 15.61 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006971/0.1233, allocations: 496.3 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1234, allocations: 8.031 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.1234, allocations: 24.66 kB / 356.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.1238, allocations: 274.7 kB / 356.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.1238, allocations: 4.375 kB / 356.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.1238, allocations: 12.12 kB / 356.5 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.1242, allocations: 167.6 kB / 356.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1242, allocations: 0 / 356.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.1242, allocations: 8 kB / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.1243, allocations: 0 / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.1244, allocations: 39.91 kB / 356.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.1249, allocations: 379.1 kB / 357 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.1252, allocations: 134.5 kB / 357.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1253, allocations: 59.36 kB / 357.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.1253, allocations: 4 kB / 357.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.1255, allocations: 83.33 kB / 357.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.863e-06/0.1255, allocations: 0 / 357.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003989/0.1259, allocations: 161.2 kB / 357.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.781e-05/0.126, allocations: 158.2 kB / 357.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.1264, allocations: 269.4 kB / 357.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1264, allocations: 29.7 kB / 357.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.491e-05/0.1265, allocations: 116.4 kB / 358 MB, free: 12.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/0.1265, allocations: 19.8 kB / 358 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.1266, allocations: 17.72 kB / 358.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1267, allocations: 338.8 kB / 358.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.368e-05/0.1268, allocations: 31.86 kB / 358.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.1269, allocations: 83.72 kB / 358.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.127, allocations: 93.97 kB / 358.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.127, allocations: 0 / 358.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002259/0.1273, allocations: 129.2 kB / 358.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1273, allocations: 4 kB / 358.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1273, allocations: 4 kB / 358.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1273, allocations: 3.938 kB / 358.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.043e-05/0.1274, allocations: 16.17 kB / 358.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.1274, allocations: 11.94 kB / 358.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.553e-05/0.1275, allocations: 15.88 kB / 358.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.1275, allocations: 4 kB / 358.8 MB, free: 12.11 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,sample1.u,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.0001373/0.1277, allocations: 142.7 kB / 358.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.1278, allocations: 77.34 kB / 359 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.982e-05/0.1279, allocations: 25.7 kB / 359 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.1279, allocations: 8.094 kB / 359 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1279, allocations: 0 / 359 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1279, allocations: 3.938 kB / 359 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.1282, allocations: 229.6 kB / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1282, allocations: 0 / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.1282, allocations: 16.25 kB / 359.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1282, allocations: 0 / 359.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1282, allocations: 11.98 kB / 359.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1282, allocations: 0 / 359.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1282, allocations: 0 / 359.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.1285, allocations: 179.2 kB / 359.5 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.1287, allocations: 116.7 kB / 359.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.1287, allocations: 8 kB / 359.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.775e-05/0.1288, allocations: 7.984 kB / 359.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.1288, allocations: 8 kB / 359.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.1288, allocations: 15.92 kB / 359.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.1291, allocations: 192.5 kB / 359.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1291, allocations: 0 / 359.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1293, allocations: 31.98 kB / 359.8 MB, free: 10.95 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,sample1.u,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.00104/0.1304, allocations: 419.7 kB / 360.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.1306, allocations: 79.84 kB / 360.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1306, allocations: 0 / 360.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.1307, allocations: 27.98 kB / 360.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/0.1312, allocations: 79.11 kB / 360.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/0.1318, allocations: 373.4 kB / 360.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.1322, allocations: 0.74 MB / 361.5 MB, free: 9.344 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.325e-05/0.1323, allocations: 21.53 kB / 361.5 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.1324, allocations: 19.44 kB / 361.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1324, allocations: 4 kB / 361.6 MB, free: 9.297 MB / 302.1 MB Notification: Performance of Templates: time 0.006388/0.1388, allocations: 2.51 MB / 364.1 MB, free: 6.816 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches