Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 117.6 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 207.9 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.621/1.621, allocations: 230.4 MB / 250 MB, free: 9.016 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 71.81 kB / 367.3 MB, free: 7.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.341, allocations: 53.31 MB / 420.7 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.00447/0.3454, allocations: 1.941 MB / 422.6 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.3479, allocations: 1.235 MB / 423.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.348, allocations: 4 kB / 423.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007323/0.3488, allocations: 147.5 kB / 424 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005495/0.3493, allocations: 163.3 kB / 424.1 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006594/0.35, allocations: 182.9 kB / 424.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000336/0.3503, allocations: 191.5 kB / 424.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.3505, allocations: 29.66 kB / 424.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.3506, allocations: 75.7 kB / 424.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.3508, allocations: 87.53 kB / 424.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.3508, allocations: 16 kB / 424.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.3509, allocations: 63.95 kB / 424.8 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.588e-05/0.351, allocations: 47.72 kB / 424.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.3511, allocations: 71.55 kB / 424.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004385/0.3516, allocations: 219 kB / 425.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3516, allocations: 0 / 425.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3516, allocations: 0 / 425.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3516, allocations: 0 / 425.1 MB, free: 3.875 MB / 334.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.0009467/0.3525, allocations: 0.5348 MB / 425.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3526, allocations: 16.02 kB / 425.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.3527, allocations: 24.8 kB / 425.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.3531, allocations: 278.9 kB / 425.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.3531, allocations: 4.375 kB / 426 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.3531, allocations: 12.12 kB / 426 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.3536, allocations: 174.6 kB / 426.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3536, allocations: 0 / 426.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.3536, allocations: 4 kB / 426.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.3536, allocations: 4 kB / 426.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.3537, allocations: 35.92 kB / 426.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006423/0.3544, allocations: 387.2 kB / 426.6 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.3547, allocations: 130.5 kB / 426.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.3548, allocations: 55.42 kB / 426.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.3548, allocations: 8.047 kB / 426.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/0.355, allocations: 83.33 kB / 426.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.355, allocations: 0 / 426.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004303/0.3554, allocations: 149.5 kB / 427 MB, free: 1.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.3556, allocations: 170.5 kB / 427.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.3559, allocations: 282.6 kB / 427.4 MB, free: 1.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.3559, allocations: 25.7 kB / 427.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.356, allocations: 124.3 kB / 427.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.3561, allocations: 19.84 kB / 427.6 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.3561, allocations: 33.7 kB / 427.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3563, allocations: 330.8 kB / 427.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.689e-05/0.3563, allocations: 23.98 kB / 428 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.3565, allocations: 87.66 kB / 428 MB, free: 0.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.3566, allocations: 93.97 kB / 428.1 MB, free: 480 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3566, allocations: 0 / 428.1 MB, free: 480 kB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002648/0.3569, allocations: 141.3 kB / 428.3 MB, free: 332 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3569, allocations: 4 kB / 428.3 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.3569, allocations: 8.172 kB / 428.3 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.357, allocations: 7.938 kB / 428.3 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.357, allocations: 12 kB / 428.3 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.357, allocations: 0 / 428.3 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.065e-05/0.3571, allocations: 19.86 kB / 428.3 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.3571, allocations: 4 kB / 428.3 MB, free: 276 kB / 334.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.000161/0.3573, allocations: 146.1 kB / 428.5 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.3574, allocations: 81.55 kB / 428.6 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.562e-05/0.3575, allocations: 25.75 kB / 428.6 MB, free: 0 / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/0.3575, allocations: 4.047 kB / 428.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.3575, allocations: 4 kB / 428.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.3575, allocations: 3.938 kB / 428.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.3578, allocations: 233.5 kB / 428.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3578, allocations: 0 / 428.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/0.3578, allocations: 4 kB / 428.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.3578, allocations: 4 kB / 428.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.3578, allocations: 4 kB / 428.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3578, allocations: 4 kB / 428.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3578, allocations: 7.938 kB / 428.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.3581, allocations: 171.4 kB / 429 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.3583, allocations: 116.9 kB / 429.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.3583, allocations: 4 kB / 429.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.3584, allocations: 8 kB / 429.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.3584, allocations: 7.984 kB / 429.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.3584, allocations: 7.938 kB / 429.1 MB, free: 15.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002219/0.3586, allocations: 206 kB / 429.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3586, allocations: 0 / 429.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.3589, allocations: 28 kB / 429.4 MB, free: 15.11 MB / 350.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.00155/0.3605, allocations: 426.9 kB / 429.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.3607, allocations: 75.84 kB / 429.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3607, allocations: 0 / 429.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.759e-05/0.3608, allocations: 31.92 kB / 429.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.3613, allocations: 77.17 kB / 430 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000685/0.3619, allocations: 342.3 kB / 430.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.3623, allocations: 0.732 MB / 431 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.393e-05/0.3624, allocations: 21.53 kB / 431.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.3624, allocations: 31.42 kB / 431.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3624, allocations: 0 / 431.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of Templates: time 0.006976/0.3694, allocations: 2.721 MB / 433.8 MB, free: 10.79 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches