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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 80.62 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 145.2 kB / 25.6 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.053/1.053, allocations: 173.4 MB / 202.2 MB, free: 8.27 MB / 186.7 MB " [Timeout remaining time 179] 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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.25e-05, allocations: 6.312 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002136/0.002158, allocations: 1.532 MB / 270.7 MB, free: 8.246 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005349/0.002693, allocations: 432 kB / 271.2 MB, free: 7.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.002754, allocations: 1.188 kB / 271.2 MB, free: 7.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.002779, allocations: 3.938 kB / 271.2 MB, free: 7.816 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.498e-05/0.002844, allocations: 5.125 kB / 271.2 MB, free: 7.812 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.003052, allocations: 35.83 kB / 271.2 MB, free: 7.777 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.399e-05/0.003136, allocations: 39.86 kB / 271.2 MB, free: 7.738 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.801e-05/0.003214, allocations: 5.531 kB / 271.2 MB, free: 7.734 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.059e-05/0.003294, allocations: 27.91 kB / 271.3 MB, free: 7.707 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.228e-05/0.003337, allocations: 15.92 kB / 271.3 MB, free: 7.691 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.003353, allocations: 0 / 271.3 MB, free: 7.691 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.396e-06/0.003362, allocations: 4.625 kB / 271.3 MB, free: 7.688 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.003383, allocations: 7.984 kB / 271.3 MB, free: 7.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.024e-05/0.003403, allocations: 8.812 kB / 271.3 MB, free: 7.672 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.615e-05/0.003479, allocations: 27.91 kB / 271.3 MB, free: 7.645 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003481, allocations: 0.75 kB / 271.3 MB, free: 7.645 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003482, allocations: 3.938 kB / 271.3 MB, free: 7.641 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.003486, allocations: 0.5938 kB / 271.3 MB, free: 7.641 MB / 250.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.0003094/0.003796, allocations: 373.4 kB / 271.7 MB, free: 7.242 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.003836, allocations: 12.03 kB / 271.7 MB, free: 7.23 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.003865, allocations: 8.891 kB / 271.7 MB, free: 7.223 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.003986, allocations: 129.8 kB / 271.9 MB, free: 7.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.003995, allocations: 4.312 kB / 271.9 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-06/0.004002, allocations: 2.438 kB / 271.9 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.004154, allocations: 106.2 kB / 272 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.00416, allocations: 192 / 272 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.004165, allocations: 1.25 kB / 272 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.00417, allocations: 3.938 kB / 272 MB, free: 6.941 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.839e-05/0.004189, allocations: 12.48 kB / 272 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.118e-05/0.00426, allocations: 93.27 kB / 272.1 MB, free: 6.812 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.543e-05/0.004315, allocations: 50.97 kB / 272.1 MB, free: 6.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.11e-05/0.004336, allocations: 11.72 kB / 272.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.004348, allocations: 48 / 272.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.004368, allocations: 49.36 kB / 272.2 MB, free: 6.676 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 5.51e-07/0.004368, allocations: 0 / 272.2 MB, free: 6.676 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001087/0.004477, allocations: 49.64 kB / 272.2 MB, free: 6.621 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.004512, allocations: 59.34 kB / 272.3 MB, free: 6.551 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.969e-05/0.004582, allocations: 173.8 kB / 272.5 MB, free: 6.363 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.894e-06/0.004589, allocations: 25.7 kB / 272.5 MB, free: 6.332 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.00463, allocations: 130.9 kB / 272.6 MB, free: 6.199 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.402e-06/0.004631, allocations: 4 kB / 272.6 MB, free: 6.195 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/0.004649, allocations: 19.38 kB / 272.6 MB, free: 6.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.004767, allocations: 0.4884 MB / 273.1 MB, free: 5.668 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-06/0.00477, allocations: 0 / 273.1 MB, free: 5.668 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.366e-06/0.004774, allocations: 0 / 273.1 MB, free: 5.668 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.595e-05/0.0048, allocations: 119.2 kB / 273.2 MB, free: 5.551 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.483e-05/0.004824, allocations: 119.2 kB / 273.4 MB, free: 5.434 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.019e-05/0.004865, allocations: 33.64 kB / 273.4 MB, free: 5.395 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.333e-05/0.004908, allocations: 127.2 kB / 273.5 MB, free: 5.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.004935, allocations: 119.2 kB / 273.6 MB, free: 5.152 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.797e-05/0.004992, allocations: 242.4 kB / 273.9 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.92e-05/0.005022, allocations: 127.1 kB / 274 MB, free: 4.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001952/0.005217, allocations: 246.3 kB / 274.2 MB, free: 4.547 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.33e-05/0.00527, allocations: 131.1 kB / 274.4 MB, free: 4.418 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.005294, allocations: 119.2 kB / 274.5 MB, free: 4.301 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.272e-05/0.005376, allocations: 279.8 kB / 274.7 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.005427, allocations: 45.64 kB / 274.8 MB, free: 3.965 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.005452, allocations: 8 kB / 274.8 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.005454, allocations: 0 / 274.8 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.005455, allocations: 0 / 274.8 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.005459, allocations: 11.88 kB / 274.8 MB, free: 3.938 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.278e-05/0.005512, allocations: 101.2 kB / 274.9 MB, free: 3.812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.005514, allocations: 0 / 274.9 MB, free: 3.812 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.436e-05/0.005569, allocations: 4 kB / 274.9 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.005571, allocations: 0 / 274.9 MB, free: 3.809 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.005579, allocations: 11.98 kB / 274.9 MB, free: 3.797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.00558, allocations: 0 / 274.9 MB, free: 3.797 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005581, allocations: 0 / 274.9 MB, free: 3.797 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.767e-05/0.005618, allocations: 72.53 kB / 275 MB, free: 3.703 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.005636, allocations: 7.953 kB / 275 MB, free: 3.695 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-06/0.005645, allocations: 3.984 kB / 275 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.163e-05/0.005656, allocations: 4 kB / 275 MB, free: 3.688 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-06/0.005659, allocations: 0 / 275 MB, free: 3.688 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.005663, allocations: 4 kB / 275 MB, free: 3.684 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.387e-05/0.005697, allocations: 131.4 kB / 275.1 MB, free: 3.555 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005697, allocations: 0 / 275.1 MB, free: 3.555 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001309/0.005828, allocations: 8 kB / 275.2 MB, free: 3.547 MB / 250.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 6.845e-05/0.005896, allocations: 99.23 kB / 275.3 MB, free: 3.441 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.637e-05/0.005943, allocations: 4 kB / 275.3 MB, free: 3.438 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.005944, allocations: 0 / 275.3 MB, free: 3.438 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.005945, allocations: 0 / 275.3 MB, free: 3.438 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.006112, allocations: 24.98 kB / 275.3 MB, free: 3.41 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.006467, allocations: 141.1 kB / 275.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.504e-05/0.006502, allocations: 63.34 kB / 275.5 MB, free: 3.164 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.013e-06/0.006509, allocations: 0 / 275.5 MB, free: 3.164 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.006549, allocations: 70.14 kB / 275.5 MB, free: 3.094 MB / 250.7 MB Notification: Performance of SimCode: time 4.21e-07/0.00655, allocations: 0 / 275.5 MB, free: 3.094 MB / 250.7 MB Notification: Performance of Templates: time 0.001695/0.008245, allocations: 357.1 kB / 275.9 MB, free: 2.75 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.842285899911076]