Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001255, allocations: 181.8 kB / 16.71 MB, free: 4.844 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 225.7 MB / 243.2 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008139/0.0008141, allocations: 101.4 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002713/0.0002713, allocations: 11.94 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2473, allocations: 50.42 MB / 404.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.001536/0.2489, allocations: 1.387 MB / 406 MB, free: 29.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003403/0.2493, allocations: 154.5 kB / 406.1 MB, free: 29.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.504e-05/0.2494, allocations: 0 / 406.1 MB, free: 29.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.2494, allocations: 7.938 kB / 406.1 MB, free: 29.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.2495, allocations: 15.86 kB / 406.1 MB, free: 29.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.2498, allocations: 39.91 kB / 406.2 MB, free: 29.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.313e-05/0.2499, allocations: 43.91 kB / 406.2 MB, free: 29.65 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.25, allocations: 30.94 kB / 406.2 MB, free: 29.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.092e-05/0.25, allocations: 19.88 kB / 406.3 MB, free: 29.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.417e-05/0.2501, allocations: 19.86 kB / 406.3 MB, free: 29.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.2501, allocations: 5.406 kB / 406.3 MB, free: 29.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.2501, allocations: 0 / 406.3 MB, free: 29.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.2502, allocations: 7.938 kB / 406.3 MB, free: 29.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.2502, allocations: 61.44 kB / 406.4 MB, free: 29.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.309e-05/0.2503, allocations: 60.41 kB / 406.4 MB, free: 29.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2503, allocations: 0 / 406.4 MB, free: 29.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2504, allocations: 4.969 kB / 406.4 MB, free: 29.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.2504, allocations: 0 / 406.4 MB, free: 29.45 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.0003542/0.2507, allocations: 378.5 kB / 406.8 MB, free: 29.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.2508, allocations: 12.03 kB / 406.8 MB, free: 29.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.2508, allocations: 8.844 kB / 406.8 MB, free: 29.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.2509, allocations: 201.3 kB / 407 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.251, allocations: 384 / 407 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.251, allocations: 9.125 kB / 407 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.2513, allocations: 173.6 kB / 407.2 MB, free: 28.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.2513, allocations: 4.172 kB / 407.2 MB, free: 28.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.2513, allocations: 3.938 kB / 407.2 MB, free: 28.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2513, allocations: 4 kB / 407.2 MB, free: 28.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.682e-05/0.2514, allocations: 39.92 kB / 407.2 MB, free: 28.53 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.2517, allocations: 373.8 kB / 407.6 MB, free: 28.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.252, allocations: 119.8 kB / 407.7 MB, free: 27.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.283e-05/0.252, allocations: 54.62 kB / 407.8 MB, free: 27.9 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.2521, allocations: 4 kB / 407.8 MB, free: 27.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.2521, allocations: 38.56 kB / 407.8 MB, free: 27.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.2521, allocations: 0 / 407.8 MB, free: 27.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002985/0.2524, allocations: 133.8 kB / 407.9 MB, free: 27.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.2525, allocations: 106.8 kB / 408.1 MB, free: 27.58 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.2526, allocations: 137.8 kB / 408.2 MB, free: 27.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.2526, allocations: 29.7 kB / 408.2 MB, free: 27.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.2526, allocations: 88.08 kB / 408.3 MB, free: 27.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.2526, allocations: 15.83 kB / 408.3 MB, free: 27.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/0.2527, allocations: 4 kB / 408.3 MB, free: 27.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.2527, allocations: 314.8 kB / 408.6 MB, free: 26.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.461e-05/0.2528, allocations: 20.02 kB / 408.6 MB, free: 26.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.284e-05/0.2528, allocations: 75.66 kB / 408.7 MB, free: 26.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.664e-05/0.2529, allocations: 99.53 kB / 408.8 MB, free: 26.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2529, allocations: 4 kB / 408.8 MB, free: 26.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001449/0.2531, allocations: 109.4 kB / 408.9 MB, free: 26.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.2531, allocations: 8.281 kB / 408.9 MB, free: 26.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2531, allocations: 4 kB / 408.9 MB, free: 26.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.2531, allocations: 4 kB / 408.9 MB, free: 26.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.469e-05/0.2532, allocations: 20 kB / 409 MB, free: 26.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2532, allocations: 7.984 kB / 409 MB, free: 26.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.2533, allocations: 8 kB / 409 MB, free: 26.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.2533, allocations: 4 kB / 409 MB, free: 26.56 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.005e-05/0.2534, allocations: 129.7 kB / 409.1 MB, free: 26.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.573e-05/0.2535, allocations: 77.59 kB / 409.2 MB, free: 26.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.2535, allocations: 16.7 kB / 409.2 MB, free: 26.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.2535, allocations: 4 kB / 409.2 MB, free: 26.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2535, allocations: 0 / 409.2 MB, free: 26.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2535, allocations: 0 / 409.2 MB, free: 26.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.2537, allocations: 193.4 kB / 409.4 MB, free: 26.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2537, allocations: 4 kB / 409.4 MB, free: 26.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.2538, allocations: 23.92 kB / 409.4 MB, free: 26.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.654e-06/0.2538, allocations: 0 / 409.4 MB, free: 26.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.2538, allocations: 3.938 kB / 409.4 MB, free: 26.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2538, allocations: 8 kB / 409.4 MB, free: 26.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2538, allocations: 0 / 409.4 MB, free: 26.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.2541, allocations: 320.4 kB / 409.7 MB, free: 25.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.2541, allocations: 97 kB / 409.8 MB, free: 25.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.2542, allocations: 4.031 kB / 409.8 MB, free: 25.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.934e-05/0.2543, allocations: 7.938 kB / 409.9 MB, free: 25.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.2543, allocations: 0 / 409.9 MB, free: 25.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.2543, allocations: 8 kB / 409.9 MB, free: 25.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.268e-05/0.2544, allocations: 111.8 kB / 410 MB, free: 25.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2544, allocations: 0 / 410 MB, free: 25.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.2546, allocations: 8 kB / 410 MB, free: 25.45 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 8.946e-05/0.2547, allocations: 111.2 kB / 410.1 MB, free: 25.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.2549, allocations: 63.84 kB / 410.2 MB, free: 25.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2549, allocations: 0 / 410.2 MB, free: 25.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.614e-05/0.2549, allocations: 12.61 kB / 410.2 MB, free: 25.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.2554, allocations: 53.39 kB / 410.2 MB, free: 25.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.2557, allocations: 232.7 kB / 410.4 MB, free: 24.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.2559, allocations: 0.7043 MB / 411.1 MB, free: 24.22 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.026e-05/0.2559, allocations: 4.672 kB / 411.2 MB, free: 24.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.2559, allocations: 11.44 kB / 411.2 MB, free: 24.2 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2559, allocations: 3.938 kB / 411.2 MB, free: 24.2 MB / 298.7 MB Notification: Performance of Templates: time 0.002508/0.2584, allocations: 0.6317 MB / 411.8 MB, free: 23.57 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches