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.001452/0.001452, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001602/0.001602, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.446/1.446, allocations: 222.9 MB / 242.2 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 54.84 kB / 301.3 MB, free: 5.844 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08547/0.08657, allocations: 49.44 MB / 350.7 MB, free: 4.395 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003678/0.09029, allocations: 1.915 MB / 352.6 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.09217, allocations: 1.075 MB / 353.7 MB, free: 1.375 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.09234, allocations: 7.938 kB / 353.7 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006199/0.093, allocations: 145.8 kB / 353.9 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003657/0.09338, allocations: 123.4 kB / 354 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006239/0.09401, allocations: 206.8 kB / 354.2 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.09431, allocations: 199.5 kB / 354.4 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.09444, allocations: 37.59 kB / 354.4 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.09459, allocations: 79.69 kB / 354.5 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.09472, allocations: 75.62 kB / 354.6 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.09476, allocations: 12 kB / 354.6 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.09492, allocations: 47.92 kB / 354.6 MB, free: 476 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.095, allocations: 43.84 kB / 354.7 MB, free: 432 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.71e-05/0.09509, allocations: 83.53 kB / 354.8 MB, free: 348 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.09543, allocations: 203.6 kB / 355 MB, free: 144 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.09545, allocations: 4 kB / 355 MB, free: 140 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.09546, allocations: 0 / 355 MB, free: 140 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.09548, allocations: 3.938 kB / 355 MB, free: 136 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.0008114/0.09629, allocations: 0.5118 MB / 355.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.09634, allocations: 15.89 kB / 355.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.594e-05/0.09642, allocations: 24.64 kB / 355.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.09678, allocations: 266.8 kB / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.09681, allocations: 12.38 kB / 355.8 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.09684, allocations: 16.06 kB / 355.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/0.09719, allocations: 167.6 kB / 356 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.09722, allocations: 0 / 356 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.09724, allocations: 4 kB / 356 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.09725, allocations: 0 / 356 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.09737, allocations: 39.92 kB / 356 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.09789, allocations: 379.1 kB / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.09815, allocations: 138.5 kB / 356.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.423e-05/0.09826, allocations: 55.42 kB / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.09829, allocations: 3.984 kB / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.09847, allocations: 75.33 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.654e-06/0.09848, allocations: 0 / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.000401/0.09889, allocations: 165.2 kB / 356.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.099, allocations: 162.2 kB / 357 MB, free: 13.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.09932, allocations: 265 kB / 357.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.09936, allocations: 33.7 kB / 357.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/0.09946, allocations: 116.4 kB / 357.4 MB, free: 13.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.0995, allocations: 16.17 kB / 357.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.09957, allocations: 37.62 kB / 357.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.09972, allocations: 342.7 kB / 357.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-05/0.0998, allocations: 19.98 kB / 357.8 MB, free: 13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.09991, allocations: 79.66 kB / 357.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.1001, allocations: 97.91 kB / 357.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1001, allocations: 4 kB / 358 MB, free: 12.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002403/0.1003, allocations: 133.3 kB / 358.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.1004, allocations: 4 kB / 358.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1004, allocations: 4 kB / 358.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1004, allocations: 0 / 358.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.1005, allocations: 16.3 kB / 358.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1005, allocations: 4 kB / 358.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.1006, allocations: 15.88 kB / 358.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.1006, allocations: 4.188 kB / 358.1 MB, free: 12.59 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.0001297/0.1008, allocations: 149.8 kB / 358.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.1009, allocations: 85.33 kB / 358.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.621e-05/0.101, allocations: 21.7 kB / 358.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.101, allocations: 0 / 358.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.101, allocations: 4 kB / 358.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.101, allocations: 3.938 kB / 358.4 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.1012, allocations: 229.6 kB / 358.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1012, allocations: 4.094 kB / 358.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.1012, allocations: 4 kB / 358.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1013, allocations: 4 kB / 358.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.1013, allocations: 0 / 358.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1013, allocations: 11.92 kB / 358.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.1013, allocations: 0 / 358.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.1016, allocations: 175.3 kB / 358.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.336e-05/0.1017, allocations: 108.8 kB / 358.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.1017, allocations: 8 kB / 358.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.1018, allocations: 4 kB / 358.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.1018, allocations: 11.98 kB / 358.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.1019, allocations: 7.938 kB / 358.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.1021, allocations: 200.4 kB / 359.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1021, allocations: 0 / 359.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1024, allocations: 32 kB / 359.2 MB, free: 11.43 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.001041/0.1034, allocations: 429.1 kB / 359.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002394/0.1037, allocations: 83.84 kB / 359.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1037, allocations: 0 / 359.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.149e-05/0.1038, allocations: 24.36 kB / 359.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/0.1042, allocations: 84.16 kB / 359.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000623/0.1048, allocations: 366.8 kB / 360.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.1052, allocations: 0.7359 MB / 360.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.1053, allocations: 23.44 kB / 360.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1053, allocations: 0 / 360.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of Templates: time 0.005391/0.1107, allocations: 2.78 MB / 363.7 MB, free: 7.031 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/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