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.001968/0.001968, allocations: 119.4 kB / 17.79 MB, free: 5.285 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.002513/0.002513, allocations: 200.3 kB / 20.74 MB, free: 2.344 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.808/1.808, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.002734/0.002734, allocations: 47.94 kB / 373.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1954, allocations: 53.33 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003719/0.1991, allocations: 1.509 MB / 428.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.2005, allocations: 474.8 kB / 428.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.2006, allocations: 3.938 kB / 428.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.048e-05/0.2007, allocations: 3.984 kB / 428.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.2008, allocations: 15.88 kB / 428.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.2012, allocations: 27.91 kB / 428.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.2013, allocations: 39.86 kB / 428.9 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.2015, allocations: 11.98 kB / 428.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.2017, allocations: 31.84 kB / 428.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.348e-05/0.2018, allocations: 7.938 kB / 428.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.2018, allocations: 7.938 kB / 428.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.245e-05/0.2018, allocations: 8 kB / 428.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.2018, allocations: 7.984 kB / 428.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.2019, allocations: 19.88 kB / 429 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.2021, allocations: 39.81 kB / 429 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.2021, allocations: 11.94 kB / 429 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.2021, allocations: 0 / 429 MB, free: 2.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.2021, allocations: 0 / 429 MB, free: 2.051 MB / 350.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.0006526/0.2027, allocations: 351.3 kB / 429.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.2028, allocations: 8.031 kB / 429.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.203, allocations: 16.92 kB / 429.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.2033, allocations: 188.3 kB / 429.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2033, allocations: 384 / 429.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.2033, allocations: 384 / 429.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.2037, allocations: 123.6 kB / 429.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2037, allocations: 0 / 429.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.2038, allocations: 3.984 kB / 429.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2038, allocations: 4 kB / 429.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.2039, allocations: 23.92 kB / 429.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.2041, allocations: 165.6 kB / 429.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.2043, allocations: 54.55 kB / 429.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.674e-05/0.2044, allocations: 24.92 kB / 430 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.2044, allocations: 4 kB / 430 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.2045, allocations: 34.5 kB / 430 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.482e-06/0.2045, allocations: 0 / 430 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003258/0.2048, allocations: 77.61 kB / 430.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.312e-05/0.2049, allocations: 51.41 kB / 430.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.205, allocations: 109.8 kB / 430.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.205, allocations: 30.08 kB / 430.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.443e-05/0.2051, allocations: 88.14 kB / 430.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.318e-05/0.2051, allocations: 7.984 kB / 430.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.2051, allocations: 13.72 kB / 430.4 MB, free: 500 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2053, allocations: 318.8 kB / 430.7 MB, free: 172 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.2053, allocations: 0 / 430.7 MB, free: 172 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/0.2053, allocations: 27.42 kB / 430.7 MB, free: 132 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.414e-05/0.2054, allocations: 43.38 kB / 430.8 MB, free: 76 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2054, allocations: 0 / 430.8 MB, free: 76 kB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/0.2055, allocations: 61.52 kB / 430.8 MB, free: 8 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.873e-05/0.2055, allocations: 11.98 kB / 430.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.2056, allocations: 3.938 kB / 430.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.2056, allocations: 4.125 kB / 430.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.2056, allocations: 8 kB / 430.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2057, allocations: 0 / 430.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.2057, allocations: 7.938 kB / 430.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2057, allocations: 4 kB / 430.8 MB, free: 15.96 MB / 366.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.0001418/0.2058, allocations: 109.8 kB / 431 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.206, allocations: 69.5 kB / 431 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.2061, allocations: 7.906 kB / 431 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2061, allocations: 4 kB / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2061, allocations: 0 / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2061, allocations: 3.984 kB / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.2063, allocations: 157.6 kB / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2063, allocations: 4 kB / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.486e-05/0.2063, allocations: 7.984 kB / 431.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.2063, allocations: 4.266 kB / 431.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2063, allocations: 4 kB / 431.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2063, allocations: 0 / 431.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.2064, allocations: 4 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.2065, allocations: 97.05 kB / 431.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.2066, allocations: 96.98 kB / 431.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.2067, allocations: 0 / 431.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.614e-05/0.2067, allocations: 4 kB / 431.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-06/0.2067, allocations: 0 / 431.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.2067, allocations: 0 / 431.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.083e-05/0.2068, allocations: 91.27 kB / 431.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2068, allocations: 4.281 kB / 431.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002021/0.207, allocations: 4 kB / 431.5 MB, free: 15.2 MB / 366.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.0001548/0.2071, allocations: 95.78 kB / 431.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.2073, allocations: 35.86 kB / 431.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2073, allocations: 0 / 431.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.61e-07/0.2073, allocations: 0 / 431.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.2076, allocations: 22.33 kB / 431.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.2079, allocations: 135 kB / 431.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.2083, allocations: 0.6846 MB / 432.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.052e-05/0.2084, allocations: 3.938 kB / 432.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.2084, allocations: 7.438 kB / 432.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of SimCode: time 1.212e-06/0.2084, allocations: 0 / 432.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Templates: time 0.002969/0.2114, allocations: 364.5 kB / 432.8 MB, free: 13.8 MB / 366.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","/var/lib/jenkins/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.244488503783941]