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.001258/0.001258, allocations: 75.91 kB / 21.18 MB, free: 3.395 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.001523/0.001523, allocations: 145.5 kB / 24.54 MB, free: 36 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 1.005/1.005, allocations: 173.4 MB / 201.1 MB, free: 8.984 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.773e-06/1.773e-06, allocations: 0 / 268 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.476e-05, allocations: 2.312 kB / 268 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00288/0.002904, allocations: 1.533 MB / 269.5 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007976/0.003702, allocations: 422.8 kB / 270 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.406e-05/0.003776, allocations: 4 kB / 270 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.627e-05/0.003812, allocations: 3.938 kB / 270 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.382e-05/0.003896, allocations: 15.86 kB / 270 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.004165, allocations: 27.91 kB / 270 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.00427, allocations: 39.84 kB / 270 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.00437, allocations: 7.984 kB / 270.1 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.004486, allocations: 31.86 kB / 270.1 MB, free: 4.188 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.004544, allocations: 15.91 kB / 270.1 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.409e-05/0.004568, allocations: 4 kB / 270.1 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.004579, allocations: 0 / 270.1 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.004606, allocations: 12 kB / 270.1 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.488e-05/0.004651, allocations: 7.984 kB / 270.1 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.004755, allocations: 31.84 kB / 270.2 MB, free: 4.117 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.004757, allocations: 0 / 270.2 MB, free: 4.117 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004758, allocations: 0 / 270.2 MB, free: 4.117 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.004763, allocations: 0 / 270.2 MB, free: 4.117 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.0004381/0.005201, allocations: 376.5 kB / 270.5 MB, free: 3.715 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.005244, allocations: 8.922 kB / 270.5 MB, free: 3.707 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.00529, allocations: 8.891 kB / 270.5 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.005472, allocations: 128.5 kB / 270.7 MB, free: 3.547 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.005482, allocations: 4.375 kB / 270.7 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.005498, allocations: 4.375 kB / 270.7 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.005795, allocations: 110.2 kB / 270.8 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.005808, allocations: 192 / 270.8 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.005817, allocations: 384 / 270.8 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.005828, allocations: 3.938 kB / 270.8 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.514e-05/0.005863, allocations: 4 kB / 270.8 MB, free: 3.406 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.005985, allocations: 120.6 kB / 270.9 MB, free: 3.254 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.348e-05/0.006079, allocations: 46.98 kB / 271 MB, free: 3.195 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.006126, allocations: 27.69 kB / 271 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.006147, allocations: 0 / 271 MB, free: 3.164 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.006173, allocations: 37.39 kB / 271 MB, free: 3.117 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.006174, allocations: 0 / 271 MB, free: 3.117 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001737/0.006348, allocations: 57.58 kB / 271.1 MB, free: 3.055 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.006392, allocations: 55.34 kB / 271.1 MB, free: 2.988 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.978e-05/0.006492, allocations: 173.9 kB / 271.3 MB, free: 2.801 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.006504, allocations: 25.7 kB / 271.3 MB, free: 2.77 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.719e-05/0.006561, allocations: 126.9 kB / 271.4 MB, free: 2.641 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.006564, allocations: 8 kB / 271.5 MB, free: 2.633 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.006594, allocations: 23.36 kB / 271.5 MB, free: 2.602 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.006736, allocations: 492.1 kB / 272 MB, free: 2.109 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-06/0.006741, allocations: 0 / 272 MB, free: 2.109 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.006747, allocations: 4 kB / 272 MB, free: 2.105 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.629e-05/0.006783, allocations: 119.2 kB / 272.1 MB, free: 1.988 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-05/0.006819, allocations: 119.2 kB / 272.2 MB, free: 1.871 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.029e-05/0.006879, allocations: 33.64 kB / 272.2 MB, free: 1.832 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.006925, allocations: 123.2 kB / 272.3 MB, free: 1.711 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.865e-05/0.006963, allocations: 119.2 kB / 272.5 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.115e-05/0.007054, allocations: 258.3 kB / 272.7 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.622e-05/0.007091, allocations: 119.2 kB / 272.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-05/0.00716, allocations: 242.3 kB / 273.1 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.2e-05/0.007242, allocations: 131.1 kB / 273.2 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.007279, allocations: 123.3 kB / 273.3 MB, free: 0.7344 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.0001097/0.007388, allocations: 271.8 kB / 273.6 MB, free: 468 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.45e-05/0.007473, allocations: 57.58 kB / 273.6 MB, free: 404 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.007508, allocations: 8.234 kB / 273.6 MB, free: 388 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.007509, allocations: 0 / 273.6 MB, free: 388 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.007518, allocations: 11.92 kB / 273.7 MB, free: 376 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.007522, allocations: 7.984 kB / 273.7 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.28e-05/0.007594, allocations: 112.6 kB / 273.8 MB, free: 220 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.007597, allocations: 4 kB / 273.8 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.129e-05/0.007688, allocations: 7.984 kB / 273.8 MB, free: 208 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.007691, allocations: 0 / 273.8 MB, free: 208 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.007698, allocations: 0 / 273.8 MB, free: 208 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.007705, allocations: 4 kB / 273.8 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.007706, allocations: 3.938 kB / 273.8 MB, free: 200 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.007811, allocations: 88.33 kB / 273.9 MB, free: 88 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.894e-05/0.00784, allocations: 11.92 kB / 273.9 MB, free: 76 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.007853, allocations: 4 kB / 273.9 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.658e-05/0.00788, allocations: 7.938 kB / 273.9 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-06/0.007883, allocations: 0 / 273.9 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.007889, allocations: 0 / 273.9 MB, free: 64 kB / 250.7 MB Notification: Performance of sorting global known variables: time 7.056e-05/0.00796, allocations: 143.4 kB / 274 MB, free: 15.92 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.00796, allocations: 0 / 274 MB, free: 15.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.008206, allocations: 4 kB / 274 MB, free: 15.92 MB / 266.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 7.897e-05/0.008285, allocations: 95.25 kB / 274.1 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.509e-05/0.008351, allocations: 7.984 kB / 274.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.008352, allocations: 0 / 274.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.008353, allocations: 4 kB / 274.2 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.008582, allocations: 20.16 kB / 274.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.009066, allocations: 141.1 kB / 274.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.681e-05/0.009103, allocations: 55.36 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.759e-06/0.009113, allocations: 3.984 kB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.009139, allocations: 8.5 kB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.00914, allocations: 0 / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of Templates: time 0.001807/0.01095, allocations: 343 kB / 274.7 MB, free: 15.2 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.8643668750301003]