Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 192.3 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.536/1.536, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008457/0.000846, allocations: 95.31 kB / 299.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000234/0.000234, allocations: 8 kB / 360.6 MB, free: 8.492 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2566, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.001936/0.2586, allocations: 1.603 MB / 413.7 MB, free: 24.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.2604, allocations: 1.909 MB / 415.6 MB, free: 22.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.2606, allocations: 7.938 kB / 415.6 MB, free: 22.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003119/0.2609, allocations: 65.05 kB / 415.6 MB, free: 22.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.2612, allocations: 113.9 kB / 415.7 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006637/0.2619, allocations: 239.4 kB / 416 MB, free: 21.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.2621, allocations: 179.3 kB / 416.2 MB, free: 21.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2622, allocations: 37.64 kB / 416.2 MB, free: 21.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.895e-05/0.2623, allocations: 75.58 kB / 416.3 MB, free: 21.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.937e-05/0.2624, allocations: 71.67 kB / 416.3 MB, free: 21.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.2624, allocations: 4 kB / 416.3 MB, free: 21.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.2625, allocations: 51.92 kB / 416.4 MB, free: 21.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.321e-05/0.2626, allocations: 57.69 kB / 416.4 MB, free: 21.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.858e-05/0.2627, allocations: 97.12 kB / 416.5 MB, free: 21.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.2629, allocations: 232.7 kB / 416.8 MB, free: 21.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2629, allocations: 0 / 416.8 MB, free: 21.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2629, allocations: 0 / 416.8 MB, free: 21.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.263, allocations: 8 kB / 416.8 MB, free: 21.01 MB / 298.7 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.000623/0.2636, allocations: 0.5079 MB / 417.3 MB, free: 20.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.2636, allocations: 12.03 kB / 417.3 MB, free: 20.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.2637, allocations: 28.56 kB / 417.3 MB, free: 20.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.2639, allocations: 287.6 kB / 417.6 MB, free: 20.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.264, allocations: 12.31 kB / 417.6 MB, free: 20.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.264, allocations: 8.125 kB / 417.6 MB, free: 20.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/0.2643, allocations: 180.4 kB / 417.8 MB, free: 19.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2643, allocations: 0 / 417.8 MB, free: 19.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.2643, allocations: 8 kB / 417.8 MB, free: 19.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2643, allocations: 3.938 kB / 417.8 MB, free: 19.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.2645, allocations: 35.92 kB / 417.8 MB, free: 19.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.2649, allocations: 407.1 kB / 418.2 MB, free: 19.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.2651, allocations: 146.5 kB / 418.4 MB, free: 19.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.773e-05/0.2652, allocations: 55.42 kB / 418.4 MB, free: 19.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.2652, allocations: 8 kB / 418.5 MB, free: 19.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.2654, allocations: 79.31 kB / 418.5 MB, free: 19.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.2654, allocations: 0 / 418.5 MB, free: 19.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003525/0.2658, allocations: 169.2 kB / 418.7 MB, free: 18.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/0.2659, allocations: 188.3 kB / 418.9 MB, free: 18.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.2661, allocations: 346.9 kB / 419.2 MB, free: 18.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.2661, allocations: 29.7 kB / 419.2 MB, free: 18.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.2662, allocations: 132.4 kB / 419.4 MB, free: 18.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.2662, allocations: 15.81 kB / 419.4 MB, free: 18.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.2662, allocations: 0 / 419.4 MB, free: 18.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.717e-05/0.2663, allocations: 338.8 kB / 419.7 MB, free: 17.74 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.099e-05/0.2664, allocations: 27.98 kB / 419.7 MB, free: 17.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.33e-05/0.2665, allocations: 100.5 kB / 419.8 MB, free: 17.58 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.2666, allocations: 101.9 kB / 419.9 MB, free: 17.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2666, allocations: 0 / 419.9 MB, free: 17.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001992/0.2668, allocations: 149.6 kB / 420.1 MB, free: 17.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2668, allocations: 8.031 kB / 420.1 MB, free: 17.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2668, allocations: 0 / 420.1 MB, free: 17.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2669, allocations: 4 kB / 420.1 MB, free: 17.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.267, allocations: 19.98 kB / 420.1 MB, free: 17.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.267, allocations: 7.938 kB / 420.1 MB, free: 17.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.799e-05/0.2671, allocations: 11.88 kB / 420.1 MB, free: 17.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.2671, allocations: 4 kB / 420.1 MB, free: 17.25 MB / 298.7 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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,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 9.8e-05/0.2672, allocations: 165.7 kB / 420.3 MB, free: 17.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.2673, allocations: 81.34 kB / 420.4 MB, free: 17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.2674, allocations: 29.73 kB / 420.4 MB, free: 16.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2674, allocations: 8.031 kB / 420.4 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.2674, allocations: 0 / 420.4 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2674, allocations: 3.938 kB / 420.4 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.2675, allocations: 253.5 kB / 420.7 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2675, allocations: 0 / 420.7 MB, free: 16.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.619e-05/0.2676, allocations: 12 kB / 420.7 MB, free: 16.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2676, allocations: 7.984 kB / 420.7 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.2676, allocations: 4.094 kB / 420.7 MB, free: 16.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.2677, allocations: 4 kB / 420.7 MB, free: 16.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2677, allocations: 3.938 kB / 420.7 MB, free: 16.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.2679, allocations: 183.2 kB / 420.9 MB, free: 16.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.618e-05/0.268, allocations: 128.7 kB / 421 MB, free: 16.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.268, allocations: 4 kB / 421 MB, free: 16.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.2681, allocations: 7.984 kB / 421 MB, free: 16.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/0.2681, allocations: 8 kB / 421 MB, free: 16.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.2682, allocations: 15.92 kB / 421 MB, free: 16.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001714/0.2683, allocations: 245.9 kB / 421.3 MB, free: 16 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2683, allocations: 0 / 421.3 MB, free: 16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.2686, allocations: 39.98 kB / 421.3 MB, free: 15.96 MB / 298.7 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.0008909/0.2695, allocations: 488.2 kB / 421.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002213/0.2697, allocations: 79.84 kB / 421.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2697, allocations: 0 / 421.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.476e-05/0.2698, allocations: 35.92 kB / 421.9 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004413/0.2703, allocations: 68.39 kB / 422 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.2708, allocations: 454.1 kB / 422.4 MB, free: 14.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.271, allocations: 0.7518 MB / 423.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.2711, allocations: 29.77 kB / 423.2 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.2712, allocations: 23.44 kB / 423.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2712, allocations: 0 / 423.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of Templates: time 0.005601/0.2768, allocations: 2.933 MB / 426.2 MB, free: 11.2 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches