Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 186.5 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.408/1.408, 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.001153/0.001152, allocations: 111.4 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008798/0.0008799, allocations: 43.94 kB / 350 MB, free: 92 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3339, allocations: 49.43 MB / 399.5 MB, free: 33.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003193/0.3372, allocations: 1.552 MB / 401 MB, free: 31.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007318/0.3379, allocations: 427.9 kB / 401.4 MB, free: 31.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.402e-05/0.338, allocations: 0 / 401.4 MB, free: 31.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.775e-05/0.3381, allocations: 7.922 kB / 401.4 MB, free: 31.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.318e-05/0.3382, allocations: 11.94 kB / 401.5 MB, free: 31.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.3385, allocations: 23.97 kB / 401.5 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.3387, allocations: 43.8 kB / 401.5 MB, free: 31.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.3388, allocations: 4 kB / 401.5 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.476e-05/0.3389, allocations: 23.91 kB / 401.5 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.571e-05/0.339, allocations: 11.94 kB / 401.6 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.339, allocations: 0 / 401.6 MB, free: 31.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.339, allocations: 4 kB / 401.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.3391, allocations: 7.984 kB / 401.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.3391, allocations: 15.88 kB / 401.6 MB, free: 31.28 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.3392, allocations: 39.81 kB / 401.6 MB, free: 31.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.3392, allocations: 0 / 401.6 MB, free: 31.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.3392, allocations: 3.938 kB / 401.6 MB, free: 31.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.3392, allocations: 0 / 401.6 MB, free: 31.24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000408/0.3397, allocations: 352.9 kB / 402 MB, free: 30.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3397, allocations: 8.031 kB / 402 MB, free: 30.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.3397, allocations: 4.938 kB / 402 MB, free: 30.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.3399, allocations: 188.2 kB / 402.2 MB, free: 30.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.3399, allocations: 384 / 402.2 MB, free: 30.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.34, allocations: 384 / 402.2 MB, free: 30.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.3403, allocations: 115.6 kB / 402.3 MB, free: 30.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3403, allocations: 0 / 402.3 MB, free: 30.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.3403, allocations: 0 / 402.3 MB, free: 30.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3403, allocations: 8 kB / 402.3 MB, free: 30.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.226e-05/0.3404, allocations: 19.98 kB / 402.3 MB, free: 30.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.3405, allocations: 165.6 kB / 402.5 MB, free: 30.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.3407, allocations: 58.48 kB / 402.5 MB, free: 30.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/0.3407, allocations: 20.89 kB / 402.6 MB, free: 30.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.3408, allocations: 12.02 kB / 402.6 MB, free: 30.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.3408, allocations: 42.5 kB / 402.6 MB, free: 30.1 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/0.3408, allocations: 0 / 402.6 MB, free: 30.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002476/0.3411, allocations: 73.52 kB / 402.7 MB, free: 30.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.3411, allocations: 55.41 kB / 402.7 MB, free: 29.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/0.3412, allocations: 113.8 kB / 402.8 MB, free: 29.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.3412, allocations: 25.7 kB / 402.9 MB, free: 29.8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.3413, allocations: 88.14 kB / 403 MB, free: 29.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.3413, allocations: 3.984 kB / 403 MB, free: 29.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.3413, allocations: 13.72 kB / 403 MB, free: 29.69 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.876e-05/0.3414, allocations: 315.2 kB / 403.3 MB, free: 29.37 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.3414, allocations: 4 kB / 403.3 MB, free: 29.37 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.3414, allocations: 35.59 kB / 403.3 MB, free: 29.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.3415, allocations: 39.38 kB / 403.4 MB, free: 29.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3415, allocations: 3.938 kB / 403.4 MB, free: 29.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.06e-05/0.3416, allocations: 61.47 kB / 403.4 MB, free: 29.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3416, allocations: 7.938 kB / 403.4 MB, free: 29.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3416, allocations: 4.125 kB / 403.4 MB, free: 29.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3416, allocations: 4 kB / 403.4 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.659e-05/0.3417, allocations: 7.938 kB / 403.4 MB, free: 29.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3417, allocations: 4 kB / 403.4 MB, free: 29.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.3417, allocations: 0 / 403.4 MB, free: 29.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.3417, allocations: 0 / 403.4 MB, free: 29.17 MB / 298.7 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 5.71e-05/0.3418, allocations: 117.8 kB / 403.6 MB, free: 29.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.862e-05/0.3419, allocations: 65.55 kB / 403.6 MB, free: 28.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.575e-05/0.3419, allocations: 11.91 kB / 403.6 MB, free: 28.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3419, allocations: 4 kB / 403.6 MB, free: 28.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3419, allocations: 0 / 403.6 MB, free: 28.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.342, allocations: 0 / 403.6 MB, free: 28.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.028e-05/0.342, allocations: 157.7 kB / 403.8 MB, free: 28.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.342, allocations: 0 / 403.8 MB, free: 28.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.361e-05/0.3421, allocations: 11.98 kB / 403.8 MB, free: 28.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3421, allocations: 3.938 kB / 403.8 MB, free: 28.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3421, allocations: 0 / 403.8 MB, free: 28.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3421, allocations: 0 / 403.8 MB, free: 28.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3421, allocations: 0 / 403.8 MB, free: 28.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.3425, allocations: 0.6551 MB / 404.5 MB, free: 28.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.3425, allocations: 89 kB / 404.6 MB, free: 27.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.3425, allocations: 0 / 404.6 MB, free: 27.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.13e-05/0.3426, allocations: 0 / 404.6 MB, free: 27.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-06/0.3426, allocations: 8 kB / 404.6 MB, free: 27.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.3426, allocations: 4 kB / 404.6 MB, free: 27.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.339e-05/0.3426, allocations: 91.27 kB / 404.7 MB, free: 27.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3426, allocations: 0 / 404.7 MB, free: 27.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.3429, allocations: 8 kB / 404.7 MB, free: 27.8 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001034/0.3431, allocations: 95.81 kB / 404.8 MB, free: 27.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001085/0.3432, allocations: 31.86 kB / 404.8 MB, free: 27.67 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3432, allocations: 288 / 404.8 MB, free: 27.67 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3432, allocations: 4.25 kB / 404.8 MB, free: 27.67 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.3434, allocations: 31.86 kB / 404.8 MB, free: 27.64 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.3437, allocations: 243.4 kB / 405.1 MB, free: 27.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.3439, allocations: 0.6848 MB / 405.7 MB, free: 26.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.418e-05/0.3439, allocations: 12 kB / 405.8 MB, free: 26.63 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.3439, allocations: 7.438 kB / 405.8 MB, free: 26.62 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3439, allocations: 0 / 405.8 MB, free: 26.62 MB / 298.7 MB Notification: Performance of Templates: time 0.001974/0.3459, allocations: 345.5 kB / 406.1 MB, free: 26.29 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches