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.001038/0.001038, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00147/0.002508, allocations: 449.8 kB / 10.44 MB, free: 252 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.0008178/0.0008178, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001848, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.211/1.211, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1299/1.341, allocations: 53.66 MB / 243.4 MB, free: 15.51 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 9.92e-07/9.92e-07, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.521e-05, allocations: 6.312 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.001954/0.00197, allocations: 1.606 MB / 246.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005338/0.002503, allocations: 479.4 kB / 246.8 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.25e-05/0.002546, allocations: 3.938 kB / 246.8 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.002562, allocations: 3.984 kB / 246.8 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.865e-05/0.002591, allocations: 15.86 kB / 246.8 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001341/0.002725, allocations: 35.84 kB / 246.8 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.951e-05/0.002794, allocations: 35.86 kB / 246.9 MB, free: 12.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.56e-05/0.00285, allocations: 11.98 kB / 246.9 MB, free: 12.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.002955, allocations: 31.91 kB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.84e-05/0.002994, allocations: 11.92 kB / 246.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.003005, allocations: 4 kB / 246.9 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.506e-05/0.00304, allocations: 7.938 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.003053, allocations: 4 kB / 247 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.691e-05/0.00307, allocations: 11.94 kB / 247 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.289e-05/0.003153, allocations: 35.91 kB / 247 MB, free: 11.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.00316, allocations: 0 / 247 MB, free: 11.91 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.00316, allocations: 0 / 247 MB, free: 11.91 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.003169, allocations: 0 / 247 MB, free: 11.91 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.0003952/0.003564, allocations: 264.5 kB / 247.3 MB, free: 11.63 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.003593, allocations: 8.031 kB / 247.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.003769, allocations: 90.03 kB / 247.4 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.003895, allocations: 125.7 kB / 247.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.003904, allocations: 4.312 kB / 247.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.003915, allocations: 12.31 kB / 247.5 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.004053, allocations: 100.5 kB / 247.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.00406, allocations: 192 / 247.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-06/0.004065, allocations: 384 / 247.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.004073, allocations: 7.922 kB / 247.6 MB, free: 11.23 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.838e-05/0.004091, allocations: 7.984 kB / 247.6 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.472e-05/0.004146, allocations: 57.05 kB / 247.7 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.991e-05/0.004196, allocations: 34.5 kB / 247.7 MB, free: 11.11 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.004213, allocations: 16.86 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.004225, allocations: 0 / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.004242, allocations: 34.56 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.004242, allocations: 0 / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 8.509e-05/0.004327, allocations: 41.69 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.004359, allocations: 59.39 kB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.202e-05/0.004411, allocations: 118.6 kB / 248 MB, free: 10.8 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.004422, allocations: 25.7 kB / 248 MB, free: 10.77 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.49e-05/0.004446, allocations: 84.12 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.004449, allocations: 4 kB / 248.1 MB, free: 10.68 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.004467, allocations: 17.72 kB / 248.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.00454, allocations: 314.8 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.987e-06/0.004544, allocations: 4 kB / 248.4 MB, free: 10.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-06/0.004548, allocations: 4 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.344e-05/0.004572, allocations: 75.28 kB / 248.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.48e-05/0.004597, allocations: 75.28 kB / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.569e-05/0.004632, allocations: 33.69 kB / 248.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.00466, allocations: 79.28 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.004681, allocations: 79.22 kB / 248.7 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.407e-05/0.004725, allocations: 158.6 kB / 248.9 MB, free: 9.832 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.09e-05/0.004756, allocations: 79.22 kB / 249 MB, free: 9.754 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.114e-05/0.004787, allocations: 154.6 kB / 249.1 MB, free: 9.602 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.004852, allocations: 87.2 kB / 249.2 MB, free: 9.516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.004869, allocations: 83.2 kB / 249.3 MB, free: 9.434 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.145e-05/0.004931, allocations: 181.1 kB / 249.5 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.004973, allocations: 41.69 kB / 249.5 MB, free: 9.199 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.004995, allocations: 11.94 kB / 249.5 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.004997, allocations: 0 / 249.5 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.004998, allocations: 0 / 249.5 MB, free: 9.188 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.005001, allocations: 4 kB / 249.5 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.696e-05/0.005048, allocations: 69.83 kB / 249.6 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.00505, allocations: 4 kB / 249.6 MB, free: 9.094 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-05/0.005107, allocations: 11.94 kB / 249.6 MB, free: 9.082 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.005124, allocations: 7.938 kB / 249.6 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.005126, allocations: 0 / 249.6 MB, free: 9.074 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.005131, allocations: 4 kB / 249.6 MB, free: 9.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.005135, allocations: 3.984 kB / 249.6 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005136, allocations: 0 / 249.6 MB, free: 9.066 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.455e-05/0.00521, allocations: 57.31 kB / 249.7 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.375e-06/0.005219, allocations: 0 / 249.7 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.156e-05/0.00523, allocations: 7.984 kB / 249.7 MB, free: 8.984 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-06/0.005235, allocations: 7.984 kB / 249.7 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.005239, allocations: 0 / 249.7 MB, free: 8.977 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.384e-05/0.005253, allocations: 12.84 kB / 249.7 MB, free: 8.961 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005253, allocations: 0 / 249.7 MB, free: 8.961 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001009/0.005354, allocations: 4 kB / 249.7 MB, free: 8.957 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.476e-05/0.005418, allocations: 84.34 kB / 249.8 MB, free: 8.863 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.64e-05/0.005455, allocations: 8 kB / 249.8 MB, free: 8.855 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.005459, allocations: 4 kB / 249.8 MB, free: 8.852 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.00546, allocations: 0 / 249.8 MB, free: 8.852 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.005567, allocations: 27.83 kB / 249.8 MB, free: 8.824 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005434/0.00611, allocations: 139.2 kB / 250 MB, free: 8.664 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.619e-05/0.006136, allocations: 59.34 kB / 250 MB, free: 8.586 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.08e-06/0.006141, allocations: 0 / 250 MB, free: 8.586 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.006176, allocations: 51.38 kB / 250.1 MB, free: 8.535 MB / 250.7 MB Notification: Performance of SimCode: time 4.41e-07/0.006176, allocations: 0 / 250.1 MB, free: 8.535 MB / 250.7 MB Notification: Performance of Templates: time 0.001637/0.007813, allocations: 354.6 kB / 250.4 MB, free: 8.195 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.791768915951252]