Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, allocations: 199.1 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, 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.0008409/0.0008409, allocations: 89.12 kB / 299.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002684/0.0002686, allocations: 8 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2482, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.001745/0.25, allocations: 1.286 MB / 413.3 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009173/0.2509, allocations: 0.6989 MB / 414 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.889e-05/0.2511, allocations: 4 kB / 414 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.477e-05/0.2511, allocations: 5.688 kB / 414.1 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.2512, allocations: 3.984 kB / 414.1 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.2515, allocations: 39.91 kB / 414.1 MB, free: 23.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.452e-05/0.2516, allocations: 47.78 kB / 414.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/0.2517, allocations: 19.06 kB / 414.2 MB, free: 23.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.2518, allocations: 19.94 kB / 414.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.2519, allocations: 19.86 kB / 414.2 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.2519, allocations: 3.984 kB / 414.2 MB, free: 23.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.606e-05/0.2519, allocations: 4 kB / 414.2 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.983e-05/0.252, allocations: 13.27 kB / 414.2 MB, free: 23.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.252, allocations: 49.52 kB / 414.3 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.644e-05/0.2521, allocations: 55.78 kB / 414.3 MB, free: 23.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2521, allocations: 3.938 kB / 414.3 MB, free: 23.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2521, allocations: 4 kB / 414.3 MB, free: 23.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.2522, allocations: 0 / 414.3 MB, free: 23.57 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.0003747/0.2525, allocations: 360.8 kB / 414.7 MB, free: 23.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2526, allocations: 8.031 kB / 414.7 MB, free: 23.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.2527, allocations: 20.83 kB / 414.7 MB, free: 23.15 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.2529, allocations: 188.2 kB / 414.9 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2529, allocations: 4.375 kB / 414.9 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.2529, allocations: 4.375 kB / 414.9 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.2531, allocations: 121.3 kB / 415 MB, free: 22.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2532, allocations: 4 kB / 415 MB, free: 22.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.2532, allocations: 4 kB / 415 MB, free: 22.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2532, allocations: 0 / 415 MB, free: 22.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.2533, allocations: 31.97 kB / 415.1 MB, free: 22.74 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.2535, allocations: 269.6 kB / 415.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.2537, allocations: 138.2 kB / 415.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.2537, allocations: 33.77 kB / 415.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.2538, allocations: 4 kB / 415.5 MB, free: 22.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.2538, allocations: 34.5 kB / 415.5 MB, free: 22.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2538, allocations: 4 kB / 415.5 MB, free: 22.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002252/0.254, allocations: 85.56 kB / 415.6 MB, free: 22.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.2541, allocations: 84.98 kB / 415.7 MB, free: 21.97 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.626e-05/0.2542, allocations: 146.7 kB / 415.8 MB, free: 21.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.2542, allocations: 29.7 kB / 415.9 MB, free: 21.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.2542, allocations: 96.25 kB / 416 MB, free: 21.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.283e-05/0.2542, allocations: 0 / 416 MB, free: 21.69 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.2542, allocations: 0 / 416 MB, free: 21.69 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.433e-05/0.2543, allocations: 318.8 kB / 416.3 MB, free: 21.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.901e-05/0.2544, allocations: 12 kB / 416.3 MB, free: 21.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/0.2544, allocations: 43.42 kB / 416.3 MB, free: 21.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.834e-05/0.2545, allocations: 51.36 kB / 416.4 MB, free: 21.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2545, allocations: 0 / 416.4 MB, free: 21.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001241/0.2546, allocations: 77.52 kB / 416.5 MB, free: 21.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.2546, allocations: 4 kB / 416.5 MB, free: 21.15 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.2547, allocations: 0 / 416.5 MB, free: 21.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2547, allocations: 4 kB / 416.5 MB, free: 21.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.204e-05/0.2547, allocations: 15.92 kB / 416.5 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.2548, allocations: 0 / 416.5 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.2548, allocations: 12.06 kB / 416.5 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.936e-06/0.2548, allocations: 8 kB / 416.5 MB, free: 21.11 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.458e-05/0.2549, allocations: 121.7 kB / 416.6 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.69e-05/0.255, allocations: 49.59 kB / 416.7 MB, free: 20.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.255, allocations: 8.25 kB / 416.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.255, allocations: 3.984 kB / 416.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.255, allocations: 0 / 416.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.255, allocations: 3.938 kB / 416.7 MB, free: 20.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.2552, allocations: 173.6 kB / 416.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2552, allocations: 0 / 416.9 MB, free: 20.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.2552, allocations: 12 kB / 416.9 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.2552, allocations: 3.984 kB / 416.9 MB, free: 20.67 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.2553, allocations: 7.938 kB / 416.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2553, allocations: 4 kB / 416.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2553, allocations: 0 / 416.9 MB, free: 20.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.2554, allocations: 172.2 kB / 417 MB, free: 20.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-05/0.2555, allocations: 97 kB / 417.1 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.2555, allocations: 0 / 417.1 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.076e-05/0.2556, allocations: 4 kB / 417.1 MB, free: 20.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.2556, allocations: 3.938 kB / 417.2 MB, free: 20.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.2556, allocations: 0 / 417.2 MB, free: 20.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.238e-05/0.2557, allocations: 107.2 kB / 417.3 MB, free: 20.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2557, allocations: 0 / 417.3 MB, free: 20.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000206/0.2559, allocations: 8 kB / 417.3 MB, free: 20.23 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 8.466e-05/0.256, allocations: 103.2 kB / 417.4 MB, free: 20.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.2561, allocations: 47.84 kB / 417.4 MB, free: 20.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2561, allocations: 0 / 417.4 MB, free: 20.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.347e-05/0.2561, allocations: 8.25 kB / 417.4 MB, free: 20.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.2565, allocations: 24.53 kB / 417.4 MB, free: 20.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.2567, allocations: 193.4 kB / 417.6 MB, free: 19.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.2569, allocations: 0.6887 MB / 418.3 MB, free: 19.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.925e-05/0.2569, allocations: 12.23 kB / 418.3 MB, free: 19.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.194e-05/0.257, allocations: 11.42 kB / 418.3 MB, free: 19.09 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.257, allocations: 4 kB / 418.3 MB, free: 19.08 MB / 298.7 MB Notification: Performance of Templates: time 0.00221/0.2592, allocations: 475.7 kB / 418.8 MB, free: 18.62 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches