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.0008258/0.0008258, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.002046, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008169/0.0008169, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001253/0.00207, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.086/1.086, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09891/1.185, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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 1.874e-06/1.874e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.644e-05, allocations: 2.312 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00236/0.002386, allocations: 1.602 MB / 246.1 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000611/0.002997, allocations: 479.4 kB / 246.6 MB, free: 12.22 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.478e-05/0.003062, allocations: 4 kB / 246.6 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.003091, allocations: 3.938 kB / 246.6 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.612e-05/0.003137, allocations: 7.875 kB / 246.6 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.003314, allocations: 39.83 kB / 246.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.463e-05/0.003409, allocations: 39.84 kB / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.417e-05/0.003493, allocations: 11.94 kB / 246.7 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.003641, allocations: 27.97 kB / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.003698, allocations: 15.91 kB / 246.8 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.003717, allocations: 4 kB / 246.8 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.506e-05/0.003782, allocations: 4 kB / 246.8 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.003803, allocations: 8 kB / 246.8 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.003831, allocations: 11.94 kB / 246.8 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.003962, allocations: 31.86 kB / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.465e-05/0.003977, allocations: 0 / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.003978, allocations: 0 / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.003994, allocations: 0 / 246.8 MB, free: 12.01 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.0004231/0.004417, allocations: 260.5 kB / 247.1 MB, free: 11.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.004454, allocations: 11.97 kB / 247.1 MB, free: 11.72 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.004634, allocations: 90.03 kB / 247.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.004795, allocations: 125.7 kB / 247.3 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.004803, allocations: 4.375 kB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.00481, allocations: 384 / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.004986, allocations: 104.5 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.004991, allocations: 192 / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.412e-06/0.004998, allocations: 4.312 kB / 247.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.005004, allocations: 3.938 kB / 247.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.129e-05/0.005025, allocations: 4 kB / 247.4 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.804e-05/0.005103, allocations: 69.02 kB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.391e-05/0.005157, allocations: 26.58 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.005176, allocations: 16.84 kB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.005198, allocations: 0 / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.005218, allocations: 30.56 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.005219, allocations: 0 / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001064/0.005325, allocations: 49.62 kB / 247.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.005364, allocations: 55.41 kB / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.647e-05/0.005421, allocations: 114.7 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.005429, allocations: 25.7 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/0.005453, allocations: 92.11 kB / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.002e-06/0.005454, allocations: 0 / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.779e-05/0.005471, allocations: 13.72 kB / 247.9 MB, free: 10.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.441e-05/0.005546, allocations: 314.8 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.00555, allocations: 4 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.436e-06/0.005554, allocations: 3.938 kB / 248.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.787e-05/0.005571, allocations: 79.28 kB / 248.3 MB, free: 10.37 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-05/0.005592, allocations: 79.22 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.66e-05/0.005628, allocations: 29.89 kB / 248.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.005657, allocations: 83.27 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.005679, allocations: 79.28 kB / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-05/0.005722, allocations: 162.5 kB / 248.7 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.162e-05/0.005744, allocations: 83.27 kB / 248.8 MB, free: 9.852 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.501e-05/0.005779, allocations: 154.5 kB / 248.9 MB, free: 9.699 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.213e-05/0.005821, allocations: 79.22 kB / 249 MB, free: 9.621 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.005841, allocations: 83.27 kB / 249.1 MB, free: 9.539 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 7.234e-05/0.005914, allocations: 181.1 kB / 249.3 MB, free: 9.352 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.005966, allocations: 49.62 kB / 249.3 MB, free: 9.297 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.005988, allocations: 7.984 kB / 249.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.00599, allocations: 0 / 249.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.005992, allocations: 0 / 249.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.005995, allocations: 4 kB / 249.3 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.331e-05/0.006048, allocations: 73.83 kB / 249.4 MB, free: 9.199 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.006052, allocations: 3.984 kB / 249.4 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.878e-05/0.006131, allocations: 4 kB / 249.4 MB, free: 9.191 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.006152, allocations: 7.953 kB / 249.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.006154, allocations: 0 / 249.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.00616, allocations: 4 kB / 249.4 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.006164, allocations: 7.984 kB / 249.4 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.006165, allocations: 0 / 249.4 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.232e-05/0.006208, allocations: 57.02 kB / 249.5 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.006216, allocations: 0 / 249.5 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.028e-05/0.006226, allocations: 4 kB / 249.5 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-06/0.00623, allocations: 4 kB / 249.5 MB, free: 9.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.006234, allocations: 0 / 249.5 MB, free: 9.09 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.747e-05/0.006252, allocations: 12.84 kB / 249.5 MB, free: 9.074 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.006252, allocations: 0 / 249.5 MB, free: 9.074 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001104/0.006362, allocations: 4 kB / 249.5 MB, free: 9.07 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 8.674e-05/0.006449, allocations: 80.42 kB / 249.6 MB, free: 8.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.889e-05/0.006498, allocations: 11.98 kB / 249.6 MB, free: 8.969 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.006501, allocations: 0 / 249.6 MB, free: 8.969 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.41e-07/0.006501, allocations: 11.94 kB / 249.6 MB, free: 8.957 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.006622, allocations: 19.78 kB / 249.6 MB, free: 8.938 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006471/0.007269, allocations: 143.2 kB / 249.8 MB, free: 8.773 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.677e-05/0.007306, allocations: 59.34 kB / 249.8 MB, free: 8.695 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.114e-05/0.007317, allocations: 0 / 249.8 MB, free: 8.695 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.007355, allocations: 51.38 kB / 249.9 MB, free: 8.645 MB / 250.7 MB Notification: Performance of SimCode: time 9.62e-07/0.007356, allocations: 0 / 249.9 MB, free: 8.645 MB / 250.7 MB Notification: Performance of Templates: time 0.001998/0.009354, allocations: 351.4 kB / 250.2 MB, free: 8.301 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6308484487235546]