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.001064/0.001064, allocations: 76.08 kB / 21.18 MB, free: 3.383 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.0009231/0.0009231, allocations: 145.1 kB / 24.54 MB, free: 28 kB / 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.9705/0.9705, allocations: 173.4 MB / 201.1 MB, free: 9.316 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 4.058e-06/4.058e-06, allocations: 0 / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.012e-05/4.417e-05, allocations: 6.312 kB / 268 MB, free: 6.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003012/0.003056, allocations: 1.538 MB / 269.5 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000849/0.003905, allocations: 426.8 kB / 270 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.778e-05/0.004003, allocations: 7.938 kB / 270 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.783e-05/0.00404, allocations: 0 / 270 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.882e-05/0.004139, allocations: 11.86 kB / 270 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.004505, allocations: 35.83 kB / 270 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.004639, allocations: 39.86 kB / 270.1 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.004771, allocations: 11.98 kB / 270.1 MB, free: 4.328 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.004905, allocations: 23.91 kB / 270.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.088e-05/0.004965, allocations: 11.98 kB / 270.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.004997, allocations: 7.938 kB / 270.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.005008, allocations: 4 kB / 270.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.005033, allocations: 3.984 kB / 270.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.005076, allocations: 8 kB / 270.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.005216, allocations: 27.84 kB / 270.2 MB, free: 4.242 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.00522, allocations: 3.938 kB / 270.2 MB, free: 4.238 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.005221, allocations: 4 kB / 270.2 MB, free: 4.234 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.00523, allocations: 3.984 kB / 270.2 MB, free: 4.23 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.0005271/0.005757, allocations: 368.6 kB / 270.5 MB, free: 3.836 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.005812, allocations: 8.922 kB / 270.5 MB, free: 3.828 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.005861, allocations: 8.891 kB / 270.5 MB, free: 3.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.00606, allocations: 128.5 kB / 270.7 MB, free: 3.668 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.006075, allocations: 4.375 kB / 270.7 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.00609, allocations: 384 / 270.7 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.006403, allocations: 114.2 kB / 270.8 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.006413, allocations: 192 / 270.8 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.006426, allocations: 384 / 270.8 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.006438, allocations: 3.938 kB / 270.8 MB, free: 3.531 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.108e-05/0.006479, allocations: 11.98 kB / 270.8 MB, free: 3.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.006612, allocations: 120.6 kB / 270.9 MB, free: 3.367 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.582e-05/0.006698, allocations: 39.06 kB / 271 MB, free: 3.316 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.006736, allocations: 15.75 kB / 271 MB, free: 3.297 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.006758, allocations: 7.938 kB / 271 MB, free: 3.289 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.006788, allocations: 41.33 kB / 271 MB, free: 3.238 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.006789, allocations: 0 / 271 MB, free: 3.238 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000195/0.006984, allocations: 53.64 kB / 271.1 MB, free: 3.18 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.007042, allocations: 63.34 kB / 271.1 MB, free: 3.105 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.471e-05/0.007137, allocations: 165.9 kB / 271.3 MB, free: 2.926 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.007149, allocations: 25.7 kB / 271.3 MB, free: 2.895 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.007212, allocations: 138.9 kB / 271.5 MB, free: 2.754 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/0.007215, allocations: 0 / 271.5 MB, free: 2.754 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.00724, allocations: 15.38 kB / 271.5 MB, free: 2.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.007378, allocations: 496.1 kB / 272 MB, free: 2.234 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.007387, allocations: 7.938 kB / 272 MB, free: 2.227 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.007393, allocations: 0 / 272 MB, free: 2.227 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.951e-05/0.007442, allocations: 123.2 kB / 272.1 MB, free: 2.105 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.754e-05/0.00748, allocations: 119.2 kB / 272.2 MB, free: 1.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.102e-05/0.007531, allocations: 29.7 kB / 272.2 MB, free: 1.953 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/0.007585, allocations: 127.2 kB / 272.4 MB, free: 1.828 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.502e-05/0.00763, allocations: 127.1 kB / 272.5 MB, free: 1.703 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.119e-05/0.007712, allocations: 238.4 kB / 272.7 MB, free: 1.469 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.53e-05/0.007747, allocations: 119.2 kB / 272.8 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.071e-05/0.007818, allocations: 250.2 kB / 273.1 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.007879, allocations: 123.2 kB / 273.2 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.007915, allocations: 131.3 kB / 273.3 MB, free: 0.8555 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 0.0001261/0.008041, allocations: 279.8 kB / 273.6 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/0.008115, allocations: 53.64 kB / 273.6 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.008162, allocations: 8.219 kB / 273.7 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.008165, allocations: 0 / 273.7 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.008175, allocations: 11.92 kB / 273.7 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.008178, allocations: 0 / 273.7 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.582e-05/0.008254, allocations: 116.6 kB / 273.8 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.008258, allocations: 0 / 273.8 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.008387, allocations: 4 kB / 273.8 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.008393, allocations: 8 kB / 273.8 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.0084, allocations: 0 / 273.8 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.008406, allocations: 0 / 273.8 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.008407, allocations: 0 / 273.8 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.008519, allocations: 104.2 kB / 273.9 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.008552, allocations: 4 kB / 273.9 MB, free: 200 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.008568, allocations: 0 / 273.9 MB, free: 200 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.653e-05/0.008584, allocations: 0 / 273.9 MB, free: 200 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-06/0.008589, allocations: 0 / 273.9 MB, free: 200 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.008599, allocations: 4 kB / 273.9 MB, free: 196 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.046e-05/0.008649, allocations: 139.4 kB / 274 MB, free: 56 kB / 250.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.008649, allocations: 4 kB / 274 MB, free: 52 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001354/0.008785, allocations: 4 kB / 274 MB, free: 48 kB / 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 0.000125/0.00891, allocations: 95.25 kB / 274.1 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.93e-05/0.008989, allocations: 15.92 kB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.008992, allocations: 0 / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.008993, allocations: 0 / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.009222, allocations: 17.09 kB / 274.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.00976, allocations: 141.1 kB / 274.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.089e-05/0.009811, allocations: 59.34 kB / 274.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.359e-05/0.009824, allocations: 0 / 274.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.009855, allocations: 12.5 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009855, allocations: 0 / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of Templates: time 0.002712/0.01257, allocations: 338.9 kB / 274.7 MB, free: 15.33 MB / 266.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 -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.683768291026354]