Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 106.2 kB / 17.06 MB, free: 5.742 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.001154/0.001154, allocations: 196 kB / 18 MB, free: 4.91 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.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 51.86 kB / 351.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2927/0.2939, allocations: 49.42 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002626/0.2966, allocations: 1.56 MB / 402.3 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007483/0.2974, allocations: 466.7 kB / 402.7 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.656e-05/0.2975, allocations: 0 / 402.7 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.029e-05/0.2975, allocations: 7.938 kB / 402.8 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.2977, allocations: 7.922 kB / 402.8 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.2979, allocations: 47.83 kB / 402.8 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.001e-05/0.298, allocations: 43.84 kB / 402.8 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.609e-05/0.2981, allocations: 8 kB / 402.9 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.483e-05/0.2982, allocations: 23.86 kB / 402.9 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.2982, allocations: 15.92 kB / 402.9 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.2982, allocations: 4 kB / 402.9 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-06/0.2983, allocations: 0 / 402.9 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/0.2983, allocations: 15.91 kB / 402.9 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.244e-05/0.2983, allocations: 23.81 kB / 402.9 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.765e-05/0.2984, allocations: 43.83 kB / 403 MB, free: 6.594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2985, allocations: 8 kB / 403 MB, free: 6.586 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2985, allocations: 0 / 403 MB, free: 6.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.2985, allocations: 0 / 403 MB, free: 6.586 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004309/0.2989, allocations: 367.3 kB / 403.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.2989, allocations: 8.031 kB / 403.4 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.299, allocations: 8.844 kB / 403.4 MB, free: 6.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.2992, allocations: 196 kB / 403.6 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.2992, allocations: 16.31 kB / 403.6 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.2992, allocations: 384 / 403.6 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002383/0.2995, allocations: 93.34 kB / 403.7 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2995, allocations: 4 kB / 403.7 MB, free: 5.812 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2995, allocations: 4 kB / 403.7 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.2995, allocations: 0 / 403.7 MB, free: 5.809 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.2996, allocations: 15.98 kB / 403.7 MB, free: 5.793 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.2999, allocations: 261.8 kB / 403.9 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.902e-05/0.3, allocations: 49.14 kB / 404 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.3001, allocations: 21.72 kB / 404 MB, free: 5.391 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.3001, allocations: 4 kB / 404 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.3001, allocations: 38.5 kB / 404.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.3001, allocations: 0 / 404.1 MB, free: 5.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002417/0.3004, allocations: 65.58 kB / 404.1 MB, free: 5.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.3005, allocations: 81.3 kB / 404.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3006, allocations: 144.8 kB / 404.3 MB, free: 5.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.3006, allocations: 25.7 kB / 404.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.3007, allocations: 84.14 kB / 404.4 MB, free: 4.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.3007, allocations: 4 kB / 404.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.3007, allocations: 17.62 kB / 404.5 MB, free: 4.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3009, allocations: 322.8 kB / 404.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.399e-05/0.3009, allocations: 8 kB / 404.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4e-05/0.301, allocations: 21.7 kB / 404.8 MB, free: 4.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.787e-05/0.3011, allocations: 33.64 kB / 404.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3011, allocations: 0 / 404.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001151/0.3012, allocations: 49.69 kB / 404.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3012, allocations: 12.12 kB / 404.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3012, allocations: 0 / 404.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3013, allocations: 0 / 404.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.3013, allocations: 7.984 kB / 404.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3013, allocations: 0 / 404.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.673e-05/0.3014, allocations: 7.938 kB / 404.9 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.3014, allocations: 0 / 404.9 MB, free: 4.398 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 7.644e-05/0.3015, allocations: 121.8 kB / 405 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.069e-05/0.3015, allocations: 37.61 kB / 405.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.3016, allocations: 15.91 kB / 405.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3016, allocations: 0 / 405.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3016, allocations: 0 / 405.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3016, allocations: 3.984 kB / 405.1 MB, free: 4.203 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.3018, allocations: 165.6 kB / 405.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3018, allocations: 4 kB / 405.3 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.739e-05/0.3018, allocations: 11.98 kB / 405.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3018, allocations: 3.938 kB / 405.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3018, allocations: 0 / 405.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.3019, allocations: 4 kB / 405.3 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3019, allocations: 7.938 kB / 405.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.302, allocations: 160.2 kB / 405.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.3021, allocations: 93 kB / 405.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.3021, allocations: 4 kB / 405.5 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.519e-05/0.3022, allocations: 0 / 405.5 MB, free: 3.672 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.3022, allocations: 4.031 kB / 405.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.3022, allocations: 4 kB / 405.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.412e-05/0.3023, allocations: 107.2 kB / 405.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3023, allocations: 0 / 405.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000223/0.3025, allocations: 4 kB / 405.7 MB, free: 3.555 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 (2): * Single equations (assignments): 2 * 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.0001073/0.3027, allocations: 107.3 kB / 405.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.3028, allocations: 27.92 kB / 405.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3028, allocations: 4.125 kB / 405.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.933e-05/0.3029, allocations: 11.98 kB / 405.8 MB, free: 3.402 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.3032, allocations: 14.78 kB / 405.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.3035, allocations: 155.5 kB / 406 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.3038, allocations: 0.6922 MB / 406.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.512e-05/0.3039, allocations: 8.141 kB / 406.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.3039, allocations: 15.44 kB / 406.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3039, allocations: 0 / 406.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of Templates: time 0.002713/0.3066, allocations: 472.4 kB / 407.1 MB, free: 2.008 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches