Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001706/0.001706, allocations: 191.5 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.515/1.515, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007565/0.0007566, allocations: 99.64 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002806, allocations: 4 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2686, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.0017/0.2703, allocations: 1.591 MB / 413.6 MB, free: 24.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.2717, allocations: 1.668 MB / 415.3 MB, free: 22.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.18e-05/0.2719, allocations: 9.875 kB / 415.3 MB, free: 22.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004821/0.2723, allocations: 139.7 kB / 415.5 MB, free: 22.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.2726, allocations: 132.1 kB / 415.6 MB, free: 22.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.2731, allocations: 185.4 kB / 415.8 MB, free: 22.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.2732, allocations: 191.4 kB / 416 MB, free: 21.87 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2733, allocations: 39.17 kB / 416 MB, free: 21.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.491e-05/0.2734, allocations: 71.64 kB / 416.1 MB, free: 21.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.581e-05/0.2735, allocations: 67.62 kB / 416.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.2736, allocations: 4 kB / 416.1 MB, free: 21.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.647e-05/0.2737, allocations: 43.92 kB / 416.2 MB, free: 21.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.235e-05/0.2737, allocations: 35.89 kB / 416.2 MB, free: 21.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.2738, allocations: 93.19 kB / 416.3 MB, free: 21.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.274, allocations: 200.8 kB / 416.5 MB, free: 21.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.274, allocations: 0 / 416.5 MB, free: 21.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.274, allocations: 0 / 416.5 MB, free: 21.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.274, allocations: 0 / 416.5 MB, free: 21.32 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005099/0.2745, allocations: 496.2 kB / 417 MB, free: 20.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.2746, allocations: 8.031 kB / 417 MB, free: 20.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.2746, allocations: 20.75 kB / 417 MB, free: 20.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.2748, allocations: 266.8 kB / 417.3 MB, free: 20.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2748, allocations: 8.375 kB / 417.3 MB, free: 20.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.2749, allocations: 12.06 kB / 417.3 MB, free: 20.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.2751, allocations: 146.7 kB / 417.4 MB, free: 20.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2751, allocations: 0 / 417.4 MB, free: 20.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2752, allocations: 0 / 417.4 MB, free: 20.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2752, allocations: 4 kB / 417.4 MB, free: 20.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/0.2753, allocations: 35.97 kB / 417.5 MB, free: 20.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.2756, allocations: 366.3 kB / 417.8 MB, free: 19.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.2758, allocations: 115.9 kB / 417.9 MB, free: 19.67 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.131e-05/0.2758, allocations: 42.56 kB / 418 MB, free: 19.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2759, allocations: 0 / 418 MB, free: 19.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.276, allocations: 79.31 kB / 418.1 MB, free: 19.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.276, allocations: 0 / 418.1 MB, free: 19.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002711/0.2763, allocations: 137.6 kB / 418.2 MB, free: 19.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.2764, allocations: 136.5 kB / 418.3 MB, free: 19.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.2766, allocations: 268.9 kB / 418.6 MB, free: 18.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.2766, allocations: 29.7 kB / 418.6 MB, free: 18.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.2766, allocations: 120 kB / 418.7 MB, free: 18.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.2767, allocations: 23.73 kB / 418.8 MB, free: 18.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.2767, allocations: 4.25 kB / 418.8 MB, free: 18.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.528e-05/0.2767, allocations: 330.8 kB / 419.1 MB, free: 18.44 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.136e-05/0.2768, allocations: 27.92 kB / 419.1 MB, free: 18.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.076e-05/0.2768, allocations: 62 kB / 419.2 MB, free: 18.33 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.754e-05/0.2769, allocations: 84.31 kB / 419.3 MB, free: 18.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.277, allocations: 0 / 419.3 MB, free: 18.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001562/0.2771, allocations: 113.4 kB / 419.4 MB, free: 18.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.2771, allocations: 8 kB / 419.4 MB, free: 18.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2771, allocations: 128 / 419.4 MB, free: 18.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2772, allocations: 8 kB / 419.4 MB, free: 18.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.846e-05/0.2772, allocations: 11.98 kB / 419.4 MB, free: 18.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.2772, allocations: 7.984 kB / 419.4 MB, free: 18.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.2773, allocations: 7.938 kB / 419.4 MB, free: 18.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.2773, allocations: 8 kB / 419.4 MB, free: 18.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.028e-05/0.2774, allocations: 145.7 kB / 419.6 MB, free: 17.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.2775, allocations: 65.36 kB / 419.6 MB, free: 17.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.2775, allocations: 25.77 kB / 419.7 MB, free: 17.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2775, allocations: 0 / 419.7 MB, free: 17.82 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2775, allocations: 0 / 419.7 MB, free: 17.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2776, allocations: 11.92 kB / 419.7 MB, free: 17.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.2777, allocations: 221.6 kB / 419.9 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2777, allocations: 0 / 419.9 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.2777, allocations: 4 kB / 419.9 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2777, allocations: 4 kB / 419.9 MB, free: 17.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.2777, allocations: 7.922 kB / 419.9 MB, free: 17.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2777, allocations: 4 kB / 419.9 MB, free: 17.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2777, allocations: 4 kB / 419.9 MB, free: 17.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.2779, allocations: 154.4 kB / 420.1 MB, free: 17.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.278, allocations: 116.8 kB / 420.2 MB, free: 17.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.278, allocations: 4.062 kB / 420.2 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.2781, allocations: 4 kB / 420.2 MB, free: 17.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.2781, allocations: 11.98 kB / 420.2 MB, free: 17.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.2782, allocations: 11.94 kB / 420.2 MB, free: 17.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.2783, allocations: 196.5 kB / 420.4 MB, free: 16.99 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2783, allocations: 3.938 kB / 420.4 MB, free: 16.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.2785, allocations: 24 kB / 420.4 MB, free: 16.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (9): * Single equations (assignments): 7 * 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.0008093/0.2793, allocations: 485 kB / 420.9 MB, free: 16.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.2795, allocations: 71.91 kB / 421 MB, free: 16.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2795, allocations: 0 / 421 MB, free: 16.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.717e-05/0.2796, allocations: 24 kB / 421 MB, free: 16.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.28, allocations: 56.61 kB / 421 MB, free: 16.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004518/0.2804, allocations: 360.3 kB / 421.4 MB, free: 16.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.2806, allocations: 0.7361 MB / 422.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.83e-05/0.2807, allocations: 25.52 kB / 422.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.2807, allocations: 15.44 kB / 422.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2807, allocations: 0 / 422.2 MB, free: 15.27 MB / 298.7 MB Notification: Performance of Templates: time 0.004317/0.285, allocations: 2.315 MB / 424.5 MB, free: 12.96 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches