Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 201.6 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007909/0.0007909, allocations: 104.8 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002131/0.0002133, allocations: 8 kB / 360.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2601, allocations: 51.4 MB / 412 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.001802/0.262, allocations: 1.392 MB / 413.4 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004056/0.2624, allocations: 161.2 kB / 413.6 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.2625, allocations: 0 / 413.6 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.461e-05/0.2626, allocations: 7.922 kB / 413.6 MB, free: 24.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.2627, allocations: 7.938 kB / 413.6 MB, free: 24.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.263, allocations: 49.02 kB / 413.7 MB, free: 24.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.261e-05/0.2631, allocations: 43.91 kB / 413.7 MB, free: 24.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2632, allocations: 37.98 kB / 413.7 MB, free: 24.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.034e-05/0.2632, allocations: 16.5 kB / 413.8 MB, free: 24.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.071e-05/0.2633, allocations: 19.86 kB / 413.8 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.2633, allocations: 4.625 kB / 413.8 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.2633, allocations: 1.312 kB / 413.8 MB, free: 24.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.2634, allocations: 19.86 kB / 413.8 MB, free: 24.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/0.2634, allocations: 53.45 kB / 413.9 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.81e-05/0.2636, allocations: 63.7 kB / 413.9 MB, free: 24.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2636, allocations: 1.188 kB / 413.9 MB, free: 24.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2636, allocations: 0 / 413.9 MB, free: 24.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.2636, allocations: 0 / 413.9 MB, free: 24.02 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004231/0.264, allocations: 377.2 kB / 414.3 MB, free: 23.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.2641, allocations: 8.031 kB / 414.3 MB, free: 23.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.2641, allocations: 12.84 kB / 414.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.2643, allocations: 200 kB / 414.5 MB, free: 23.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.2643, allocations: 8.375 kB / 414.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.2643, allocations: 4.375 kB / 414.5 MB, free: 23.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.2646, allocations: 166.3 kB / 414.7 MB, free: 23.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.2646, allocations: 4.188 kB / 414.7 MB, free: 23.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2647, allocations: 7.938 kB / 414.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.2647, allocations: 0 / 414.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.2648, allocations: 43.91 kB / 414.7 MB, free: 23.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.2652, allocations: 361.9 kB / 415.1 MB, free: 22.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.2654, allocations: 123.9 kB / 415.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.46e-05/0.2655, allocations: 54.56 kB / 415.3 MB, free: 22.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.2655, allocations: 7.922 kB / 415.3 MB, free: 22.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.2655, allocations: 46.56 kB / 415.3 MB, free: 22.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.2655, allocations: 0 / 415.3 MB, free: 22.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003602/0.2659, allocations: 121.7 kB / 415.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.266, allocations: 118.7 kB / 415.5 MB, free: 22.15 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2661, allocations: 147 kB / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.2661, allocations: 25.7 kB / 415.7 MB, free: 21.97 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.2661, allocations: 84.14 kB / 415.8 MB, free: 21.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.2662, allocations: 19.83 kB / 415.8 MB, free: 21.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.2662, allocations: 0 / 415.8 MB, free: 21.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.044e-05/0.2662, allocations: 314.8 kB / 416.1 MB, free: 21.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.535e-05/0.2663, allocations: 15.98 kB / 416.1 MB, free: 21.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.2664, allocations: 75.72 kB / 416.2 MB, free: 21.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.673e-05/0.2665, allocations: 95.53 kB / 416.3 MB, free: 21.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2665, allocations: 0 / 416.3 MB, free: 21.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001474/0.2666, allocations: 121.6 kB / 416.4 MB, free: 21.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.2666, allocations: 4 kB / 416.4 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2667, allocations: 7.938 kB / 416.4 MB, free: 21.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2667, allocations: 0 / 416.4 MB, free: 21.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.507e-05/0.2668, allocations: 28.2 kB / 416.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2668, allocations: 4 kB / 416.5 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.2668, allocations: 8 kB / 416.5 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.2668, allocations: 4 kB / 416.5 MB, free: 21.13 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.96e-05/0.2669, allocations: 133.6 kB / 416.6 MB, free: 20.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.267, allocations: 73.59 kB / 416.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.2671, allocations: 12.72 kB / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2671, allocations: 0 / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2671, allocations: 7.938 kB / 416.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2671, allocations: 4 kB / 416.7 MB, free: 20.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.2673, allocations: 189.4 kB / 416.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2673, allocations: 0 / 416.9 MB, free: 20.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-05/0.2674, allocations: 19.98 kB / 416.9 MB, free: 20.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2674, allocations: 4 kB / 416.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.2674, allocations: 0 / 416.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2674, allocations: 3.938 kB / 416.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2674, allocations: 4 kB / 416.9 MB, free: 20.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.2677, allocations: 320.3 kB / 417.2 MB, free: 20.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.2678, allocations: 97 kB / 417.3 MB, free: 20.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.2678, allocations: 3.938 kB / 417.3 MB, free: 20.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.95e-05/0.2679, allocations: 12 kB / 417.3 MB, free: 20.15 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.2679, allocations: 11.91 kB / 417.4 MB, free: 20.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.2679, allocations: 4 kB / 417.4 MB, free: 20.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.376e-05/0.268, allocations: 103.3 kB / 417.5 MB, free: 20.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.268, allocations: 0 / 417.5 MB, free: 20.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002413/0.2682, allocations: 8 kB / 417.5 MB, free: 20.03 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0001043/0.2683, allocations: 107.2 kB / 417.6 MB, free: 19.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.2685, allocations: 63.86 kB / 417.6 MB, free: 19.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2685, allocations: 0 / 417.6 MB, free: 19.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.551e-05/0.2685, allocations: 15.98 kB / 417.7 MB, free: 19.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.269, allocations: 40.05 kB / 417.7 MB, free: 19.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.2693, allocations: 232.5 kB / 417.9 MB, free: 19.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.2695, allocations: 0.7043 MB / 418.6 MB, free: 18.8 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.447e-05/0.2695, allocations: 16.59 kB / 418.6 MB, free: 18.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.2696, allocations: 11.44 kB / 418.7 MB, free: 18.77 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.2696, allocations: 0 / 418.7 MB, free: 18.77 MB / 298.7 MB Notification: Performance of Templates: time 0.002926/0.2725, allocations: 0.6147 MB / 419.3 MB, free: 18.16 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches