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.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 185.5 kB / 16.71 MB, free: 4.941 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.365/1.365, allocations: 225.7 MB / 243.2 MB, free: 8.465 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.0007821/0.0007823, allocations: 101.1 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000296/0.000296, allocations: 7.984 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2549, allocations: 50.42 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.001608/0.2566, allocations: 1.274 MB / 405.9 MB, free: 30.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005703/0.2572, allocations: 437.8 kB / 406.3 MB, free: 29.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.552e-05/0.2573, allocations: 0 / 406.3 MB, free: 29.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.661e-05/0.2573, allocations: 7.922 kB / 406.3 MB, free: 29.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.2574, allocations: 7.938 kB / 406.3 MB, free: 29.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.2577, allocations: 36.44 kB / 406.3 MB, free: 29.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.47e-05/0.2578, allocations: 43.84 kB / 406.4 MB, free: 29.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.994e-05/0.2579, allocations: 18.86 kB / 406.4 MB, free: 29.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.397e-05/0.258, allocations: 15.92 kB / 406.4 MB, free: 29.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.258, allocations: 19.86 kB / 406.4 MB, free: 29.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.258, allocations: 0 / 406.4 MB, free: 29.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.2581, allocations: 7.938 kB / 406.4 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.222e-05/0.2581, allocations: 8.625 kB / 406.4 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.2581, allocations: 50.22 kB / 406.5 MB, free: 29.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.963e-05/0.2582, allocations: 51.73 kB / 406.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2582, allocations: 0.9688 kB / 406.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2582, allocations: 0 / 406.5 MB, free: 29.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.2583, allocations: 0 / 406.5 MB, free: 29.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003668/0.2586, allocations: 367.3 kB / 406.9 MB, free: 28.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2587, allocations: 9.031 kB / 406.9 MB, free: 28.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.2587, allocations: 8.844 kB / 406.9 MB, free: 28.92 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.2589, allocations: 188.2 kB / 407.1 MB, free: 28.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.2589, allocations: 5.281 kB / 407.1 MB, free: 28.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.2589, allocations: 8.359 kB / 407.1 MB, free: 28.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.2591, allocations: 129.2 kB / 407.2 MB, free: 28.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.2591, allocations: 0 / 407.2 MB, free: 28.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.2592, allocations: 0 / 407.2 MB, free: 28.54 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2592, allocations: 4 kB / 407.3 MB, free: 28.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/0.2592, allocations: 23.98 kB / 407.3 MB, free: 28.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002421/0.2595, allocations: 273.6 kB / 407.5 MB, free: 28.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.2597, allocations: 134.3 kB / 407.7 MB, free: 28.03 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.099e-05/0.2597, allocations: 33.77 kB / 407.7 MB, free: 27.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.2598, allocations: 4 kB / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/0.2598, allocations: 34.5 kB / 407.7 MB, free: 27.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2598, allocations: 0 / 407.7 MB, free: 27.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002136/0.26, allocations: 89.5 kB / 407.8 MB, free: 27.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.2601, allocations: 85.11 kB / 407.9 MB, free: 27.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.856e-05/0.2601, allocations: 133.8 kB / 408 MB, free: 27.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.054e-06/0.2602, allocations: 25.7 kB / 408.1 MB, free: 27.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.796e-05/0.2602, allocations: 88.12 kB / 408.2 MB, free: 27.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.2602, allocations: 8.062 kB / 408.2 MB, free: 27.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/0.2602, allocations: 4 kB / 408.2 MB, free: 27.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.246e-05/0.2603, allocations: 318.8 kB / 408.5 MB, free: 27.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.2603, allocations: 11.98 kB / 408.5 MB, free: 27.14 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.749e-05/0.2604, allocations: 35.42 kB / 408.5 MB, free: 27.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.684e-05/0.2604, allocations: 55.36 kB / 408.6 MB, free: 27.03 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2605, allocations: 0 / 408.6 MB, free: 27.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001104/0.2606, allocations: 73.47 kB / 408.7 MB, free: 26.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2606, allocations: 8.625 kB / 408.7 MB, free: 26.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2606, allocations: 0 / 408.7 MB, free: 26.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2606, allocations: 288 / 408.7 MB, free: 26.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.345e-05/0.2607, allocations: 19.98 kB / 408.7 MB, free: 26.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2607, allocations: 0 / 408.7 MB, free: 26.92 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.125e-05/0.2607, allocations: 8 kB / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.2608, allocations: 0 / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.371e-05/0.2608, allocations: 137.8 kB / 408.8 MB, free: 26.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/0.2609, allocations: 53.52 kB / 408.9 MB, free: 26.71 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.717e-05/0.261, allocations: 12.25 kB / 408.9 MB, free: 26.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.261, allocations: 0 / 408.9 MB, free: 26.69 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.261, allocations: 4 kB / 408.9 MB, free: 26.69 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.261, allocations: 0 / 408.9 MB, free: 26.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.2611, allocations: 169.6 kB / 409.1 MB, free: 26.47 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2611, allocations: 0 / 409.1 MB, free: 26.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.155e-05/0.2612, allocations: 11.98 kB / 409.1 MB, free: 26.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.2612, allocations: 8 kB / 409.1 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.2612, allocations: 0 / 409.1 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2612, allocations: 3.938 kB / 409.1 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2612, allocations: 0 / 409.1 MB, free: 26.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.2613, allocations: 176.2 kB / 409.3 MB, free: 26.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.2614, allocations: 97 kB / 409.3 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.2614, allocations: 4 kB / 409.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-05/0.2615, allocations: 3.984 kB / 409.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.2615, allocations: 4 kB / 409.4 MB, free: 26.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.2615, allocations: 0 / 409.4 MB, free: 26.13 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.091e-05/0.2616, allocations: 107.2 kB / 409.5 MB, free: 26.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.313e-06/0.2616, allocations: 0 / 409.5 MB, free: 26.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002063/0.2618, allocations: 7.938 kB / 409.5 MB, free: 26.02 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001074/0.2619, allocations: 115.2 kB / 409.6 MB, free: 25.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.2621, allocations: 31.92 kB / 409.6 MB, free: 25.87 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2621, allocations: 0 / 409.6 MB, free: 25.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.404e-05/0.2621, allocations: 11.98 kB / 409.6 MB, free: 25.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.2625, allocations: 23.97 kB / 409.7 MB, free: 25.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.2628, allocations: 206.9 kB / 409.9 MB, free: 25.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.263, allocations: 0.6887 MB / 410.5 MB, free: 24.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.248e-05/0.2631, allocations: 8 kB / 410.5 MB, free: 24.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.2631, allocations: 7.438 kB / 410.6 MB, free: 24.87 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2631, allocations: 0 / 410.6 MB, free: 24.87 MB / 298.7 MB Notification: Performance of Templates: time 0.002346/0.2655, allocations: 485.9 kB / 411 MB, free: 24.4 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches