Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001622/0.001622, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002349/0.002349, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.623/1.623, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3861, allocations: 50.55 MB / 409.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003825/0.39, allocations: 1.921 MB / 411.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.3923, allocations: 1.231 MB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.3925, allocations: 4 kB / 412.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000677/0.3932, allocations: 147.5 kB / 412.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004465/0.3937, allocations: 167 kB / 412.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000539/0.3942, allocations: 171.4 kB / 412.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.3945, allocations: 203.4 kB / 413.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.3947, allocations: 37.66 kB / 413.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.3948, allocations: 83.61 kB / 413.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.3949, allocations: 83.62 kB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.395, allocations: 8 kB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.3951, allocations: 55.97 kB / 413.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.968e-05/0.3952, allocations: 55.77 kB / 413.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.289e-05/0.3953, allocations: 71.48 kB / 413.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.3957, allocations: 219 kB / 413.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3957, allocations: 0 / 413.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3957, allocations: 3.938 kB / 413.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3957, allocations: 0 / 413.7 MB, free: 13.15 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.0008671/0.3966, allocations: 0.5287 MB / 414.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3966, allocations: 8.031 kB / 414.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.511e-05/0.3967, allocations: 24.66 kB / 414.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003744/0.3971, allocations: 282.7 kB / 414.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.3971, allocations: 4.375 kB / 414.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.3971, allocations: 12.12 kB / 414.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/0.3975, allocations: 175.5 kB / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3975, allocations: 4 kB / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.3975, allocations: 0 / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.3975, allocations: 0 / 414.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3977, allocations: 39.92 kB / 414.7 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.3982, allocations: 379.2 kB / 415.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.3985, allocations: 138.5 kB / 415.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/0.3986, allocations: 59.41 kB / 415.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.3986, allocations: 0 / 415.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.3988, allocations: 79.33 kB / 415.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.3988, allocations: 0 / 415.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003961/0.3992, allocations: 157.3 kB / 415.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.3993, allocations: 166.6 kB / 415.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.3997, allocations: 278.5 kB / 416 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.3997, allocations: 29.7 kB / 416 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.3998, allocations: 120.4 kB / 416.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.3998, allocations: 19.88 kB / 416.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.3999, allocations: 37.7 kB / 416.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4, allocations: 330.8 kB / 416.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.4001, allocations: 19.98 kB / 416.5 MB, free: 9.988 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.4002, allocations: 91.64 kB / 416.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.4004, allocations: 89.98 kB / 416.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4004, allocations: 0 / 416.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000236/0.4006, allocations: 137.2 kB / 416.8 MB, free: 9.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.4007, allocations: 8 kB / 416.8 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.4007, allocations: 4.188 kB / 416.8 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.4007, allocations: 4 kB / 416.8 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.585e-05/0.4008, allocations: 12.31 kB / 416.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.4008, allocations: 0 / 416.9 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.799e-05/0.4009, allocations: 19.86 kB / 416.9 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.4009, allocations: 8 kB / 416.9 MB, free: 9.566 MB / 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.0001376/0.4011, allocations: 153.7 kB / 417 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.4012, allocations: 89.28 kB / 417.1 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.4013, allocations: 25.64 kB / 417.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4013, allocations: 0 / 417.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.4013, allocations: 4 kB / 417.1 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4013, allocations: 3.938 kB / 417.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.4015, allocations: 229.6 kB / 417.4 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4015, allocations: 0 / 417.4 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.883e-05/0.4016, allocations: 4 kB / 417.4 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.4016, allocations: 4 kB / 417.4 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.4016, allocations: 4 kB / 417.4 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.4016, allocations: 8.078 kB / 417.4 MB, free: 8.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4016, allocations: 7.938 kB / 417.4 MB, free: 8.973 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.4019, allocations: 163.3 kB / 417.6 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.563e-05/0.402, allocations: 112.9 kB / 417.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.402, allocations: 0 / 417.7 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.4021, allocations: 12 kB / 417.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.4021, allocations: 7.984 kB / 417.7 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.4022, allocations: 11.88 kB / 417.7 MB, free: 8.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.4024, allocations: 206 kB / 417.9 MB, free: 8.426 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4024, allocations: 0 / 417.9 MB, free: 8.426 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.4027, allocations: 39.92 kB / 417.9 MB, free: 8.387 MB / 334.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.000968/0.4036, allocations: 420.4 kB / 418.4 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.4039, allocations: 79.91 kB / 418.4 MB, free: 8.035 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4039, allocations: 0 / 418.4 MB, free: 8.035 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.095e-05/0.404, allocations: 23.92 kB / 418.5 MB, free: 8.012 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.4044, allocations: 82.66 kB / 418.5 MB, free: 7.934 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000588/0.405, allocations: 346.8 kB / 418.9 MB, free: 7.555 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.4053, allocations: 0.732 MB / 419.6 MB, free: 6.797 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.578e-05/0.4054, allocations: 41.45 kB / 419.6 MB, free: 6.758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.4055, allocations: 19.44 kB / 419.7 MB, free: 6.742 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4055, allocations: 0 / 419.7 MB, free: 6.742 MB / 334.1 MB Notification: Performance of Templates: time 0.006223/0.4117, allocations: 2.685 MB / 422.4 MB, free: 4.082 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches