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.0009452/0.0009452, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009741/0.0009741, allocations: 149.7 kB / 24.9 MB, free: 8.727 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 0.9439/0.9439, allocations: 173.4 MB / 201.5 MB, free: 8.266 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 1.873e-06/1.873e-06, allocations: 0 / 268.5 MB, free: 9.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.556e-05, allocations: 3.062 kB / 268.5 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002988/0.003014, allocations: 1.586 MB / 270.1 MB, free: 8.176 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000846/0.00386, allocations: 427.4 kB / 270.5 MB, free: 7.754 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.003921, allocations: 1.594 kB / 270.5 MB, free: 7.754 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.003952, allocations: 7.922 kB / 270.5 MB, free: 7.746 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.121e-05/0.004024, allocations: 7.938 kB / 270.5 MB, free: 7.738 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.00423, allocations: 37.11 kB / 270.6 MB, free: 7.703 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.837e-05/0.004308, allocations: 39.8 kB / 270.6 MB, free: 7.664 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.936e-05/0.004377, allocations: 11.97 kB / 270.6 MB, free: 7.652 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.987e-05/0.004457, allocations: 28.45 kB / 270.7 MB, free: 7.625 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.569e-05/0.004503, allocations: 7.984 kB / 270.7 MB, free: 7.617 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.004518, allocations: 0.6875 kB / 270.7 MB, free: 7.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.004526, allocations: 4 kB / 270.7 MB, free: 7.613 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.004545, allocations: 9.047 kB / 270.7 MB, free: 7.605 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.776e-05/0.004572, allocations: 19.92 kB / 270.7 MB, free: 7.586 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.2e-05/0.004654, allocations: 21.23 kB / 270.7 MB, free: 7.566 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.004657, allocations: 3.938 kB / 270.7 MB, free: 7.562 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004658, allocations: 0 / 270.7 MB, free: 7.562 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.004662, allocations: 0 / 270.7 MB, free: 7.562 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.0002907/0.004953, allocations: 245.7 kB / 271 MB, free: 7.301 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.004987, allocations: 8.031 kB / 271 MB, free: 7.293 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.005014, allocations: 5.875 kB / 271 MB, free: 7.289 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.005151, allocations: 133.6 kB / 271.1 MB, free: 7.133 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.005158, allocations: 0.875 kB / 271.1 MB, free: 7.133 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.005167, allocations: 5.094 kB / 271.1 MB, free: 7.129 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.005328, allocations: 94.48 kB / 271.2 MB, free: 7.023 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.005334, allocations: 192 / 271.2 MB, free: 7.023 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.00534, allocations: 384 / 271.2 MB, free: 7.023 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.005345, allocations: 4.438 kB / 271.2 MB, free: 7.02 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.795e-05/0.005363, allocations: 15.92 kB / 271.2 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.6e-05/0.005418, allocations: 61 kB / 271.3 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.699e-05/0.005475, allocations: 38.55 kB / 271.3 MB, free: 6.883 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.005494, allocations: 8.859 kB / 271.3 MB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.005506, allocations: 4 kB / 271.3 MB, free: 6.867 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.005523, allocations: 30.56 kB / 271.4 MB, free: 6.828 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 5.41e-07/0.005524, allocations: 0 / 271.4 MB, free: 6.828 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 8.543e-05/0.005609, allocations: 45.62 kB / 271.4 MB, free: 6.777 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.005642, allocations: 59.41 kB / 271.5 MB, free: 6.707 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.546e-05/0.005698, allocations: 114.7 kB / 271.6 MB, free: 6.582 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.005706, allocations: 29.7 kB / 271.6 MB, free: 6.547 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.005731, allocations: 88.14 kB / 271.7 MB, free: 6.457 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.262e-06/0.005732, allocations: 0 / 271.7 MB, free: 6.457 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/0.005748, allocations: 13.7 kB / 271.7 MB, free: 6.438 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.193e-05/0.00582, allocations: 318.8 kB / 272 MB, free: 6.117 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-06/0.005823, allocations: 0 / 272 MB, free: 6.117 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-06/0.005827, allocations: 0 / 272 MB, free: 6.117 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.83e-05/0.005845, allocations: 75.28 kB / 272.1 MB, free: 6.043 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/0.005862, allocations: 75.28 kB / 272.2 MB, free: 5.969 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.006e-05/0.005902, allocations: 37.62 kB / 272.2 MB, free: 5.926 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.005927, allocations: 83.28 kB / 272.3 MB, free: 5.844 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.005945, allocations: 79.28 kB / 272.4 MB, free: 5.766 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.89e-05/0.005984, allocations: 158.5 kB / 272.5 MB, free: 5.609 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.786e-05/0.006002, allocations: 79.22 kB / 272.6 MB, free: 5.531 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.262e-05/0.006035, allocations: 154.6 kB / 272.7 MB, free: 5.379 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.006077, allocations: 83.16 kB / 272.8 MB, free: 5.297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.006093, allocations: 75.28 kB / 272.9 MB, free: 5.223 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 6.461e-05/0.006157, allocations: 189.1 kB / 273.1 MB, free: 5.027 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.006198, allocations: 41.81 kB / 273.1 MB, free: 4.98 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.006223, allocations: 16.03 kB / 273.1 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.006224, allocations: 0 / 273.1 MB, free: 4.961 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.006225, allocations: 4 kB / 273.1 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.006228, allocations: 0 / 273.1 MB, free: 4.957 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.506e-05/0.006273, allocations: 73.81 kB / 273.2 MB, free: 4.867 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.006275, allocations: 0 / 273.2 MB, free: 4.867 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.166e-05/0.006337, allocations: 8 kB / 273.2 MB, free: 4.859 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.00634, allocations: 4 kB / 273.2 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.006344, allocations: 0 / 273.2 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.006345, allocations: 0 / 273.2 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006346, allocations: 0 / 273.2 MB, free: 4.855 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.79e-05/0.006383, allocations: 69.22 kB / 273.3 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.0064, allocations: 0 / 273.3 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-06/0.006407, allocations: 4 kB / 273.3 MB, free: 4.766 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.084e-05/0.006418, allocations: 4 kB / 273.3 MB, free: 4.762 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-06/0.006421, allocations: 3.984 kB / 273.3 MB, free: 4.758 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.006426, allocations: 3.938 kB / 273.3 MB, free: 4.754 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.426e-05/0.00644, allocations: 13.23 kB / 273.3 MB, free: 4.738 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00644, allocations: 0 / 273.3 MB, free: 4.738 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001079/0.006548, allocations: 4 kB / 273.3 MB, free: 4.734 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 9.29e-05/0.006641, allocations: 72.42 kB / 273.4 MB, free: 4.656 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.581e-05/0.006686, allocations: 15.98 kB / 273.4 MB, free: 4.641 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.006689, allocations: 4 kB / 273.4 MB, free: 4.637 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.3e-07/0.00669, allocations: 0 / 273.4 MB, free: 4.637 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.006801, allocations: 13.06 kB / 273.4 MB, free: 4.621 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.007147, allocations: 143.3 kB / 273.6 MB, free: 4.457 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.336e-05/0.007181, allocations: 59.34 kB / 273.6 MB, free: 4.379 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.855e-06/0.007189, allocations: 3.938 kB / 273.6 MB, free: 4.375 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.254e-05/0.007221, allocations: 47.38 kB / 273.7 MB, free: 4.328 MB / 250.7 MB Notification: Performance of SimCode: time 4.31e-07/0.007222, allocations: 0 / 273.7 MB, free: 4.328 MB / 250.7 MB Notification: Performance of Templates: time 0.001613/0.008834, allocations: 362 kB / 274 MB, free: 3.98 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 -s gbode -gbm=radauIIA3 -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.437586285173893]