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.001883/0.001883, 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.001926/0.001926, allocations: 194.9 kB / 18 MB, free: 5.078 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.464/1.464, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 39.94 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3146, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.00293/0.3175, allocations: 1.573 MB / 402.3 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008817/0.3184, allocations: 482.7 kB / 402.8 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.89e-05/0.3186, allocations: 0 / 402.8 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.741e-05/0.3186, allocations: 7.938 kB / 402.8 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.3188, allocations: 11.86 kB / 402.8 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.3191, allocations: 47.83 kB / 402.8 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.646e-05/0.3192, allocations: 39.86 kB / 402.9 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3193, allocations: 23.92 kB / 402.9 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.064e-05/0.3194, allocations: 19.92 kB / 402.9 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.588e-05/0.3194, allocations: 19.86 kB / 402.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.3195, allocations: 4 kB / 402.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.3195, allocations: 4 kB / 402.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.3195, allocations: 15.92 kB / 403 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.3196, allocations: 23.8 kB / 403 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.3197, allocations: 51.81 kB / 403 MB, free: 6.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3197, allocations: 8 kB / 403 MB, free: 6.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3197, allocations: 0 / 403 MB, free: 6.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.3198, allocations: 0 / 403 MB, free: 6.547 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.0004843/0.3202, allocations: 374.8 kB / 403.4 MB, free: 6.141 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3203, allocations: 8.031 kB / 403.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/0.3203, allocations: 8.844 kB / 403.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.3206, allocations: 192.1 kB / 403.6 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3206, allocations: 8.312 kB / 403.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.3206, allocations: 4.375 kB / 403.6 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.3209, allocations: 125.3 kB / 403.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3209, allocations: 3.938 kB / 403.7 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3209, allocations: 4 kB / 403.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3209, allocations: 0 / 403.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.864e-05/0.321, allocations: 23.98 kB / 403.8 MB, free: 5.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.3213, allocations: 261.8 kB / 404 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.3215, allocations: 134.2 kB / 404.2 MB, free: 5.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.424e-05/0.3216, allocations: 33.77 kB / 404.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3216, allocations: 0 / 404.2 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.3217, allocations: 38.56 kB / 404.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 2.665e-06/0.3217, allocations: 0 / 404.2 MB, free: 5.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002554/0.3219, allocations: 81.69 kB / 404.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.322, allocations: 85.17 kB / 404.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3221, allocations: 133.8 kB / 404.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.3222, allocations: 25.7 kB / 404.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.3222, allocations: 92.12 kB / 404.6 MB, free: 4.699 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.3222, allocations: 7.906 kB / 404.6 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.3223, allocations: 13.72 kB / 404.7 MB, free: 4.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3224, allocations: 326.8 kB / 405 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.282e-05/0.3224, allocations: 7.938 kB / 405 MB, free: 4.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.11e-05/0.3225, allocations: 43.41 kB / 405 MB, free: 4.281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.432e-05/0.3226, allocations: 43.36 kB / 405.1 MB, free: 4.227 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3226, allocations: 4 kB / 405.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001262/0.3227, allocations: 73.52 kB / 405.2 MB, free: 4.145 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3227, allocations: 8 kB / 405.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3228, allocations: 0 / 405.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3228, allocations: 0 / 405.2 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.3228, allocations: 11.94 kB / 405.2 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3229, allocations: 0 / 405.2 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.3229, allocations: 12.05 kB / 405.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.3229, allocations: 8 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 9.179e-05/0.323, allocations: 117.8 kB / 405.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.3231, allocations: 49.59 kB / 405.4 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.3231, allocations: 12.25 kB / 405.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3231, allocations: 3.938 kB / 405.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3232, allocations: 0 / 405.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3232, allocations: 0 / 405.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.3233, allocations: 181.6 kB / 405.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3233, allocations: 0 / 405.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.432e-05/0.3234, allocations: 15.94 kB / 405.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3234, allocations: 0 / 405.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.3234, allocations: 0 / 405.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3234, allocations: 0 / 405.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3234, allocations: 4 kB / 405.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.3236, allocations: 168.2 kB / 405.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.3237, allocations: 97 kB / 405.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.3237, allocations: 3.984 kB / 405.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.312e-05/0.3238, allocations: 0 / 405.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.3238, allocations: 8 kB / 405.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3238, allocations: 0 / 405.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.3239, allocations: 109.6 kB / 405.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3239, allocations: 3.938 kB / 405.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.3242, allocations: 8 kB / 406 MB, free: 3.23 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 9.824e-05/0.3243, allocations: 104 kB / 406.1 MB, free: 3.121 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.3244, allocations: 27.92 kB / 406.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3244, allocations: 0 / 406.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.3245, allocations: 15.98 kB / 406.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.3248, allocations: 31.89 kB / 406.1 MB, free: 3.047 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.3251, allocations: 163.9 kB / 406.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3254, allocations: 0.6961 MB / 407 MB, free: 2.137 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.074e-05/0.3255, allocations: 7.938 kB / 407 MB, free: 2.129 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.3255, allocations: 7.438 kB / 407 MB, free: 2.121 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3255, allocations: 0 / 407 MB, free: 2.121 MB / 318.1 MB Notification: Performance of Templates: time 0.002707/0.3282, allocations: 0.5332 MB / 407.5 MB, free: 1.598 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