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.00137/0.001371, allocations: 111.6 kB / 17.06 MB, free: 6 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.001562/0.001562, allocations: 198.8 kB / 18.01 MB, free: 5.074 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.364/1.364, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009087/0.0009087, allocations: 47.92 kB / 351.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2967, allocations: 49.43 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003013/0.2998, allocations: 1.587 MB / 402.3 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009398/0.3007, allocations: 466.8 kB / 402.8 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.3008, allocations: 3.938 kB / 402.8 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.991e-05/0.3009, allocations: 15.92 kB / 402.8 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.3011, allocations: 7.922 kB / 402.8 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.3014, allocations: 43.83 kB / 402.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.3016, allocations: 39.86 kB / 402.9 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.3017, allocations: 15.98 kB / 402.9 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.582e-05/0.3018, allocations: 23.86 kB / 402.9 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.519e-05/0.3019, allocations: 19.86 kB / 402.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.302, allocations: 11.98 kB / 403 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.302, allocations: 4 kB / 403 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.302, allocations: 8 kB / 403 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.516e-05/0.3021, allocations: 27.8 kB / 403 MB, free: 6.598 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.3022, allocations: 51.75 kB / 403 MB, free: 6.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3022, allocations: 4 kB / 403 MB, free: 6.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3023, allocations: 0 / 403 MB, free: 6.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.3023, allocations: 0 / 403 MB, free: 6.543 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.0005334/0.3028, allocations: 372.3 kB / 403.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.3029, allocations: 12.03 kB / 403.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.3029, allocations: 8.844 kB / 403.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.3031, allocations: 196 kB / 403.6 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3031, allocations: 8.375 kB / 403.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.3032, allocations: 4.359 kB / 403.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.3035, allocations: 125.3 kB / 403.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3035, allocations: 0 / 403.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3035, allocations: 0 / 403.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3035, allocations: 0 / 403.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-05/0.3036, allocations: 23.92 kB / 403.8 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003279/0.304, allocations: 265.8 kB / 404 MB, free: 5.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.3042, allocations: 138.2 kB / 404.2 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.664e-05/0.3042, allocations: 33.7 kB / 404.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.3043, allocations: 0 / 404.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.3043, allocations: 42.55 kB / 404.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3043, allocations: 0 / 404.2 MB, free: 5.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002545/0.3046, allocations: 81.52 kB / 404.3 MB, free: 5.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.3046, allocations: 77.11 kB / 404.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3047, allocations: 133.8 kB / 404.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.3048, allocations: 25.7 kB / 404.6 MB, free: 4.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.3048, allocations: 92.25 kB / 404.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.3048, allocations: 7.906 kB / 404.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.3049, allocations: 17.72 kB / 404.7 MB, free: 4.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.305, allocations: 326.8 kB / 405 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.202e-05/0.305, allocations: 4 kB / 405 MB, free: 4.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.261e-05/0.3051, allocations: 39.36 kB / 405 MB, free: 4.277 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.534e-05/0.3052, allocations: 43.42 kB / 405.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3052, allocations: 0 / 405.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001267/0.3053, allocations: 77.45 kB / 405.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.3053, allocations: 10.16 kB / 405.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3054, allocations: 4 kB / 405.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.3054, allocations: 0 / 405.2 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.846e-05/0.3055, allocations: 8 kB / 405.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3055, allocations: 3.984 kB / 405.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.135e-05/0.3055, allocations: 7.938 kB / 405.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3055, allocations: 4 kB / 405.2 MB, free: 4.105 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 8.875e-05/0.3056, allocations: 121.7 kB / 405.3 MB, free: 3.977 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.3057, allocations: 49.59 kB / 405.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.3057, allocations: 16.25 kB / 405.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3057, allocations: 0 / 405.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3058, allocations: 0 / 405.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3058, allocations: 4.312 kB / 405.4 MB, free: 3.895 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.3059, allocations: 173.6 kB / 405.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.306, allocations: 0 / 405.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.306, allocations: 8 kB / 405.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.306, allocations: 4 kB / 405.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.306, allocations: 3.938 kB / 405.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.306, allocations: 3.984 kB / 405.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.3061, allocations: 11.92 kB / 405.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.3062, allocations: 172.2 kB / 405.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.733e-05/0.3063, allocations: 97 kB / 405.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.3064, allocations: 0 / 405.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.403e-05/0.3064, allocations: 0 / 405.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.3065, allocations: 4 kB / 405.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.3065, allocations: 0 / 405.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.837e-05/0.3065, allocations: 111.2 kB / 406 MB, free: 3.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3066, allocations: 0 / 406 MB, free: 3.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.3068, allocations: 12 kB / 406 MB, free: 3.219 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.0001099/0.3069, allocations: 99.98 kB / 406.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.3071, allocations: 31.91 kB / 406.1 MB, free: 3.082 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3071, allocations: 256 / 406.1 MB, free: 3.082 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.668e-05/0.3071, allocations: 12 kB / 406.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.3075, allocations: 42.27 kB / 406.1 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.3078, allocations: 163.6 kB / 406.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.308, allocations: 0.6922 MB / 407 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.294e-05/0.3081, allocations: 4 kB / 407 MB, free: 2.125 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.3081, allocations: 11.5 kB / 407 MB, free: 2.113 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3081, allocations: 0 / 407 MB, free: 2.113 MB / 318.1 MB Notification: Performance of Templates: time 0.002555/0.3107, allocations: 0.5278 MB / 407.5 MB, free: 1.586 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