Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001418, allocations: 107.4 kB / 17.06 MB, free: 6.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 198.9 kB / 18 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009731/0.0009731, allocations: 51.88 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2902, allocations: 49.43 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003026/0.2933, allocations: 1.577 MB / 402.3 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008612/0.2942, allocations: 474.8 kB / 402.8 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.2943, allocations: 3.938 kB / 402.8 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.919e-05/0.2944, allocations: 3.938 kB / 402.8 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.2945, allocations: 15.91 kB / 402.8 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.2948, allocations: 47.83 kB / 402.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.2949, allocations: 39.86 kB / 402.9 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.295, allocations: 19.98 kB / 402.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.172e-05/0.2951, allocations: 19.86 kB / 402.9 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.298e-05/0.2952, allocations: 23.86 kB / 402.9 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.2952, allocations: 4 kB / 402.9 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.2952, allocations: 3.938 kB / 402.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.346e-05/0.2953, allocations: 11.98 kB / 403 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.36e-05/0.2953, allocations: 27.8 kB / 403 MB, free: 6.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.2955, allocations: 55.55 kB / 403 MB, free: 6.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2955, allocations: 4 kB / 403 MB, free: 6.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2955, allocations: 0 / 403 MB, free: 6.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.2955, allocations: 0 / 403 MB, free: 6.562 MB / 318.1 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.000526/0.296, allocations: 379.1 kB / 403.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.2961, allocations: 8.031 kB / 403.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/0.2962, allocations: 8.891 kB / 403.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.2965, allocations: 198.8 kB / 403.6 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2965, allocations: 384 / 403.6 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.2965, allocations: 12.36 kB / 403.6 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003246/0.2968, allocations: 113.3 kB / 403.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2969, allocations: 0 / 403.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2969, allocations: 4 kB / 403.8 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.2969, allocations: 4 kB / 403.8 MB, free: 5.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.309e-05/0.297, allocations: 27.92 kB / 403.8 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.2974, allocations: 261.8 kB / 404 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.2976, allocations: 134.2 kB / 404.2 MB, free: 5.246 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.2977, allocations: 37.7 kB / 404.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.2977, allocations: 0 / 404.2 MB, free: 5.203 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.2978, allocations: 34.56 kB / 404.2 MB, free: 5.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.2978, allocations: 0 / 404.2 MB, free: 5.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002839/0.2981, allocations: 81.55 kB / 404.3 MB, free: 5.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.891e-05/0.2981, allocations: 85.23 kB / 404.4 MB, free: 4.973 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.2983, allocations: 133.8 kB / 404.5 MB, free: 4.832 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.2983, allocations: 25.7 kB / 404.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.2984, allocations: 88.12 kB / 404.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.2984, allocations: 15.94 kB / 404.7 MB, free: 4.695 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.2985, allocations: 13.72 kB / 404.7 MB, free: 4.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.2986, allocations: 322.8 kB / 405 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.974e-05/0.2987, allocations: 15.94 kB / 405 MB, free: 4.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.552e-05/0.2987, allocations: 35.59 kB / 405 MB, free: 4.289 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.617e-05/0.2989, allocations: 47.36 kB / 405.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2989, allocations: 4 kB / 405.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000136/0.299, allocations: 77.5 kB / 405.2 MB, free: 4.145 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.299, allocations: 4 kB / 405.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.299, allocations: 4 kB / 405.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.2991, allocations: 0 / 405.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.637e-05/0.2992, allocations: 8 kB / 405.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2992, allocations: 0 / 405.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.2992, allocations: 12.11 kB / 405.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.2992, allocations: 0 / 405.2 MB, free: 4.117 MB / 318.1 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 0.0001226/0.2994, allocations: 125.7 kB / 405.3 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.2994, allocations: 45.64 kB / 405.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.2995, allocations: 12.25 kB / 405.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2995, allocations: 0 / 405.4 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.2995, allocations: 4 kB / 405.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2995, allocations: 0 / 405.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.2998, allocations: 177.5 kB / 405.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2998, allocations: 0 / 405.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.104e-05/0.2998, allocations: 12 kB / 405.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2998, allocations: 0 / 405.6 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.2999, allocations: 8 kB / 405.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2999, allocations: 0 / 405.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2999, allocations: 7.875 kB / 405.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.3001, allocations: 172.3 kB / 405.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.3002, allocations: 93.05 kB / 405.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.3002, allocations: 3.984 kB / 405.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.068e-05/0.3003, allocations: 4 kB / 405.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.3003, allocations: 4 kB / 405.9 MB, free: 3.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.3003, allocations: 4 kB / 405.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.994e-05/0.3004, allocations: 109.4 kB / 406 MB, free: 3.242 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3004, allocations: 0 / 406 MB, free: 3.242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.3007, allocations: 4 kB / 406 MB, free: 3.238 MB / 318.1 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.0001456/0.3008, allocations: 104 kB / 406.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.301, allocations: 31.92 kB / 406.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.301, allocations: 0 / 406.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.461e-05/0.3011, allocations: 11.98 kB / 406.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.3015, allocations: 27.89 kB / 406.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004245/0.3019, allocations: 162.6 kB / 406.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.3023, allocations: 0.6961 MB / 407 MB, free: 2.152 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.514e-05/0.3023, allocations: 4.25 kB / 407 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.3024, allocations: 11.38 kB / 407 MB, free: 2.137 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3024, allocations: 4 kB / 407 MB, free: 2.133 MB / 318.1 MB Notification: Performance of Templates: time 0.002985/0.3054, allocations: 0.5229 MB / 407.5 MB, free: 1.613 MB / 318.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches