Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 100.8 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008682/0.0008683, allocations: 39.94 kB / 350 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2584, allocations: 49.43 MB / 399.5 MB, free: 33.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002655/0.2611, allocations: 1.742 MB / 401.2 MB, free: 31.6 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003458/0.2615, allocations: 163.4 kB / 401.4 MB, free: 31.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.926e-05/0.2616, allocations: 7.938 kB / 401.4 MB, free: 31.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.699e-05/0.2616, allocations: 3.984 kB / 401.4 MB, free: 31.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.2618, allocations: 7.922 kB / 401.4 MB, free: 31.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.262, allocations: 39.92 kB / 401.4 MB, free: 31.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.59e-05/0.2621, allocations: 55.45 kB / 401.5 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.2622, allocations: 23.98 kB / 401.5 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.163e-05/0.2623, allocations: 27.8 kB / 401.5 MB, free: 31.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.833e-05/0.2623, allocations: 27.86 kB / 401.6 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.2624, allocations: 4 kB / 401.6 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.2624, allocations: 4 kB / 401.6 MB, free: 31.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.2624, allocations: 19.91 kB / 401.6 MB, free: 31.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.2625, allocations: 31.75 kB / 401.6 MB, free: 31.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.2626, allocations: 67.72 kB / 401.7 MB, free: 31.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2626, allocations: 0 / 401.7 MB, free: 31.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.2626, allocations: 0 / 401.7 MB, free: 31.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.2626, allocations: 0 / 401.7 MB, free: 31.13 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.0004041/0.263, allocations: 384.7 kB / 402.1 MB, free: 30.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2631, allocations: 16.03 kB / 402.1 MB, free: 30.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.2631, allocations: 12.75 kB / 402.1 MB, free: 30.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.2633, allocations: 192.2 kB / 402.3 MB, free: 30.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.2633, allocations: 4.375 kB / 402.3 MB, free: 30.45 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.2633, allocations: 8.359 kB / 402.3 MB, free: 30.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.2636, allocations: 167.1 kB / 402.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2636, allocations: 192 / 402.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.2636, allocations: 7.875 kB / 402.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2636, allocations: 0 / 402.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.774e-05/0.2637, allocations: 39.91 kB / 402.5 MB, free: 30.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002955/0.264, allocations: 365.9 kB / 402.9 MB, free: 29.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.2642, allocations: 119.8 kB / 403 MB, free: 29.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.724e-05/0.2643, allocations: 58.61 kB / 403 MB, free: 29.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.2644, allocations: 4 kB / 403 MB, free: 29.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.2644, allocations: 34.56 kB / 403.1 MB, free: 29.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.2644, allocations: 0 / 403.1 MB, free: 29.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002762/0.2647, allocations: 125.6 kB / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.2647, allocations: 110.8 kB / 403.3 MB, free: 29.27 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.2648, allocations: 140.1 kB / 403.4 MB, free: 29.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.2648, allocations: 29.7 kB / 403.5 MB, free: 29.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.041e-05/0.2649, allocations: 96.06 kB / 403.6 MB, free: 29 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.2649, allocations: 11.84 kB / 403.6 MB, free: 28.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.2649, allocations: 25.7 kB / 403.6 MB, free: 28.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.356e-05/0.265, allocations: 318.8 kB / 403.9 MB, free: 28.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.279e-05/0.265, allocations: 15.98 kB / 403.9 MB, free: 28.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.096e-05/0.2651, allocations: 71.66 kB / 404 MB, free: 28.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.432e-05/0.2652, allocations: 95.53 kB / 404.1 MB, free: 28.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2652, allocations: 4 kB / 404.1 MB, free: 28.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001459/0.2653, allocations: 113.4 kB / 404.2 MB, free: 28.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2654, allocations: 4 kB / 404.2 MB, free: 28.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.2654, allocations: 4 kB / 404.2 MB, free: 28.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.2654, allocations: 0 / 404.2 MB, free: 28.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.147e-05/0.2654, allocations: 20.28 kB / 404.2 MB, free: 28.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.2655, allocations: 15.92 kB / 404.2 MB, free: 28.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.2655, allocations: 4 kB / 404.3 MB, free: 28.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.2655, allocations: 4 kB / 404.3 MB, free: 28.23 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.097e-05/0.2656, allocations: 129.7 kB / 404.4 MB, free: 28.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2657, allocations: 81.67 kB / 404.5 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.2657, allocations: 12.7 kB / 404.5 MB, free: 27.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2658, allocations: 4 kB / 404.5 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2658, allocations: 0 / 404.5 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2658, allocations: 3.984 kB / 404.5 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.2659, allocations: 197.4 kB / 404.7 MB, free: 27.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2659, allocations: 3.938 kB / 404.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.266, allocations: 19.98 kB / 404.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.266, allocations: 0 / 404.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.266, allocations: 0 / 404.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.266, allocations: 4 kB / 404.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.266, allocations: 0 / 404.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004551/0.2665, allocations: 0.8928 MB / 405.6 MB, free: 26.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.197e-05/0.2666, allocations: 96.94 kB / 405.7 MB, free: 26.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.2666, allocations: 7.984 kB / 405.7 MB, free: 26.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/0.2667, allocations: 4 kB / 405.7 MB, free: 26.63 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.2667, allocations: 4 kB / 405.7 MB, free: 26.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.2667, allocations: 4 kB / 405.7 MB, free: 26.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.306e-05/0.2668, allocations: 107.2 kB / 405.8 MB, free: 26.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2668, allocations: 0 / 405.8 MB, free: 26.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000349/0.2671, allocations: 12 kB / 405.8 MB, free: 26.5 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.212e-05/0.2672, allocations: 99.19 kB / 405.9 MB, free: 26.4 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.2674, allocations: 68.03 kB / 406 MB, free: 26.33 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2674, allocations: 0 / 406 MB, free: 26.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.405e-05/0.2674, allocations: 8 kB / 406 MB, free: 26.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.2679, allocations: 51.94 kB / 406 MB, free: 26.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.2682, allocations: 373.4 kB / 406.4 MB, free: 25.87 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.2684, allocations: 0.7043 MB / 407.1 MB, free: 25.14 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.887e-05/0.2684, allocations: 4.656 kB / 407.1 MB, free: 25.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.2684, allocations: 15.44 kB / 407.1 MB, free: 25.11 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2684, allocations: 0 / 407.1 MB, free: 25.11 MB / 298.7 MB Notification: Performance of Templates: time 0.002368/0.2708, allocations: 0.6699 MB / 407.8 MB, free: 24.45 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@2/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