Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 215.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.646/1.646, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 47.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3278, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003483/0.3313, allocations: 1.504 MB / 433.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3324, allocations: 446.9 kB / 434.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.3325, allocations: 3.938 kB / 434.3 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.438e-05/0.3326, allocations: 3.938 kB / 434.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.3327, allocations: 7.938 kB / 434.3 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004078/0.3331, allocations: 31.89 kB / 434.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.3332, allocations: 43.8 kB / 434.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3333, allocations: 19.94 kB / 434.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.3335, allocations: 23.91 kB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.537e-05/0.3336, allocations: 15.92 kB / 434.4 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.3336, allocations: 4 kB / 434.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.768e-05/0.3336, allocations: 4 kB / 434.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.3337, allocations: 8 kB / 434.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.3337, allocations: 19.86 kB / 434.5 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.3339, allocations: 39.53 kB / 434.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3339, allocations: 0 / 434.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3339, allocations: 0 / 434.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.3339, allocations: 4 kB / 434.5 MB, free: 4.555 MB / 334.1 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.0006516/0.3346, allocations: 273.2 kB / 434.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.3346, allocations: 11.97 kB / 434.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.3348, allocations: 12.92 kB / 434.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.3352, allocations: 126.4 kB / 434.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3352, allocations: 384 / 434.9 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.3352, allocations: 4.375 kB / 434.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004394/0.3356, allocations: 119.6 kB / 435 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3356, allocations: 7.938 kB / 435 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3357, allocations: 0 / 435 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3357, allocations: 0 / 435 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.602e-05/0.3358, allocations: 23.92 kB / 435.1 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.336, allocations: 109.3 kB / 435.2 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.3361, allocations: 54.55 kB / 435.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.483e-05/0.3362, allocations: 28.92 kB / 435.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.3363, allocations: 4 kB / 435.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.637e-05/0.3363, allocations: 30.56 kB / 435.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3363, allocations: 0 / 435.3 MB, free: 3.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003079/0.3366, allocations: 77.55 kB / 435.4 MB, free: 3.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.3367, allocations: 59.39 kB / 435.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.3368, allocations: 113.8 kB / 435.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.3368, allocations: 25.7 kB / 435.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.806e-05/0.3369, allocations: 88.14 kB / 435.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.656e-06/0.3369, allocations: 4 kB / 435.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.337, allocations: 17.72 kB / 435.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.3372, allocations: 314.8 kB / 436 MB, free: 2.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.3372, allocations: 8 kB / 436 MB, free: 2.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.94e-05/0.3372, allocations: 27.56 kB / 436 MB, free: 2.867 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.53e-05/0.3373, allocations: 35.44 kB / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3373, allocations: 0 / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000105/0.3374, allocations: 65.61 kB / 436.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.3374, allocations: 4 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.3374, allocations: 11.92 kB / 436.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3375, allocations: 0 / 436.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.3375, allocations: 7.984 kB / 436.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.3376, allocations: 4 kB / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.3376, allocations: 0 / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3376, allocations: 4 kB / 436.1 MB, free: 2.719 MB / 334.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 0.0001115/0.3377, allocations: 109.8 kB / 436.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.3378, allocations: 69.73 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.167e-05/0.3379, allocations: 11.94 kB / 436.3 MB, free: 2.508 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3379, allocations: 4 kB / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3379, allocations: 0 / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3379, allocations: 3.938 kB / 436.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.338, allocations: 113.2 kB / 436.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.338, allocations: 0 / 436.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.176e-05/0.3381, allocations: 8 kB / 436.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3381, allocations: 0 / 436.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.3381, allocations: 3.984 kB / 436.5 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.3381, allocations: 7.938 kB / 436.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3381, allocations: 4 kB / 436.5 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.3383, allocations: 89.05 kB / 436.6 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.3383, allocations: 7.953 kB / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.3383, allocations: 0 / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.7e-05/0.3383, allocations: 7.938 kB / 436.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-06/0.3384, allocations: 0 / 436.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.3384, allocations: 0 / 436.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.785e-05/0.3384, allocations: 95.58 kB / 436.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3384, allocations: 0 / 436.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.3386, allocations: 12 kB / 436.7 MB, free: 2.109 MB / 334.1 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.0001617/0.3388, allocations: 95.25 kB / 436.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001436/0.339, allocations: 23.92 kB / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.339, allocations: 0 / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.339, allocations: 4 kB / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.3392, allocations: 20.02 kB / 436.8 MB, free: 1.961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.3396, allocations: 139.1 kB / 437 MB, free: 1.801 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.922e-05/0.3396, allocations: 67.34 kB / 437 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.858e-05/0.3397, allocations: 4 kB / 437 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.045e-05/0.3397, allocations: 7.438 kB / 437 MB, free: 1.703 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3397, allocations: 0 / 437 MB, free: 1.703 MB / 334.1 MB Notification: Performance of Templates: time 0.003245/0.3429, allocations: 417.6 kB / 437.4 MB, free: 1.305 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.083061530996929]