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.002323/0.002323, allocations: 95.86 kB / 20.96 MB, free: 3.457 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.002481/0.002481, allocations: 153.1 kB / 24.27 MB, free: 160 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.599/1.599, allocations: 173.3 MB / 200.8 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 178] 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.403e-06/1.403e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.629e-05, allocations: 2.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002853/0.00288, allocations: 1.499 MB / 268.8 MB, free: 5.203 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.004011, allocations: 430.7 kB / 269.3 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.004067, allocations: 3.938 kB / 269.3 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.004093, allocations: 3.938 kB / 269.3 MB, free: 4.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.972e-05/0.004163, allocations: 7.922 kB / 269.3 MB, free: 4.762 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.004387, allocations: 27.84 kB / 269.3 MB, free: 4.734 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.004489, allocations: 39.86 kB / 269.3 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.185e-05/0.004571, allocations: 8 kB / 269.3 MB, free: 4.688 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.004676, allocations: 31.89 kB / 269.4 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.653e-05/0.004723, allocations: 7.984 kB / 269.4 MB, free: 4.648 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.004739, allocations: 4 kB / 269.4 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.004751, allocations: 4 kB / 269.4 MB, free: 4.641 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.004772, allocations: 7.938 kB / 269.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.329e-05/0.004805, allocations: 8 kB / 269.4 MB, free: 4.625 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.004923, allocations: 47.75 kB / 269.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.004925, allocations: 0 / 269.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004926, allocations: 0 / 269.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.004929, allocations: 4 kB / 269.5 MB, free: 4.574 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.0005189/0.005448, allocations: 376.2 kB / 269.8 MB, free: 4.172 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.005488, allocations: 8.922 kB / 269.8 MB, free: 4.164 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.005531, allocations: 8.891 kB / 269.8 MB, free: 4.156 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.005735, allocations: 132.5 kB / 270 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.005749, allocations: 4.375 kB / 270 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.00576, allocations: 4.375 kB / 270 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/0.006093, allocations: 121.5 kB / 270.1 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.006103, allocations: 192 / 270.1 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.006111, allocations: 384 / 270.1 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.006117, allocations: 3.938 kB / 270.1 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.214e-05/0.006199, allocations: 19.98 kB / 270.1 MB, free: 3.836 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.006353, allocations: 116.6 kB / 270.2 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.006518, allocations: 62.98 kB / 270.3 MB, free: 3.613 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.069e-05/0.006588, allocations: 27.75 kB / 270.3 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.006608, allocations: 0 / 270.3 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.006642, allocations: 37.39 kB / 270.4 MB, free: 3.535 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.006643, allocations: 0 / 270.4 MB, free: 3.535 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002555/0.006898, allocations: 77.62 kB / 270.4 MB, free: 3.453 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.006957, allocations: 55.34 kB / 270.5 MB, free: 3.387 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.007107, allocations: 181.8 kB / 270.7 MB, free: 3.191 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.007127, allocations: 25.7 kB / 270.7 MB, free: 3.16 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.158e-05/0.007209, allocations: 134.9 kB / 270.8 MB, free: 3.023 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.007211, allocations: 0 / 270.8 MB, free: 3.023 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.007246, allocations: 19.36 kB / 270.8 MB, free: 2.996 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002668/0.007513, allocations: 0.4884 MB / 271.3 MB, free: 2.496 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.547e-06/0.007516, allocations: 4 kB / 271.3 MB, free: 2.492 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-06/0.007519, allocations: 0 / 271.3 MB, free: 2.492 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.312e-05/0.007582, allocations: 119.2 kB / 271.4 MB, free: 2.375 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.094e-05/0.007643, allocations: 119.2 kB / 271.6 MB, free: 2.258 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.998e-05/0.007723, allocations: 29.7 kB / 271.6 MB, free: 2.223 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.567e-05/0.007798, allocations: 127.2 kB / 271.7 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-05/0.007864, allocations: 123.1 kB / 271.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001385/0.008003, allocations: 242.4 kB / 272.1 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.599e-05/0.008069, allocations: 127.1 kB / 272.2 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001285/0.008197, allocations: 246.3 kB / 272.4 MB, free: 1.371 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.008299, allocations: 119.2 kB / 272.6 MB, free: 1.254 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.191e-05/0.008371, allocations: 135.3 kB / 272.7 MB, free: 1.121 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.0001772/0.008548, allocations: 275.8 kB / 273 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.008691, allocations: 61.64 kB / 273 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.008729, allocations: 11.98 kB / 273 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.008731, allocations: 0 / 273 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.008739, allocations: 7.938 kB / 273 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.008741, allocations: 240 / 273 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.008852, allocations: 116.6 kB / 273.2 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.008855, allocations: 0 / 273.2 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.949e-05/0.008945, allocations: 15.98 kB / 273.2 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.008948, allocations: 3.938 kB / 273.2 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.008954, allocations: 0 / 273.2 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.008956, allocations: 0 / 273.2 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.008957, allocations: 0 / 273.2 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.009137, allocations: 100.4 kB / 273.3 MB, free: 468 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.763e-05/0.009165, allocations: 11.95 kB / 273.3 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.009184, allocations: 7.984 kB / 273.3 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.047e-05/0.009214, allocations: 0 / 273.3 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-06/0.009217, allocations: 0 / 273.3 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.009225, allocations: 7.938 kB / 273.3 MB, free: 440 kB / 250.7 MB Notification: Performance of sorting global known variables: time 9.578e-05/0.009321, allocations: 147.4 kB / 273.4 MB, free: 292 kB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.009321, allocations: 0 / 273.4 MB, free: 292 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002058/0.009527, allocations: 0 / 273.4 MB, free: 292 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.0001259/0.009652, allocations: 99.19 kB / 273.5 MB, free: 184 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.674e-05/0.009739, allocations: 12 kB / 273.5 MB, free: 172 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.00974, allocations: 0 / 273.5 MB, free: 172 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-07/0.009741, allocations: 0 / 273.5 MB, free: 172 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.009974, allocations: 25.14 kB / 273.6 MB, free: 144 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.01028, allocations: 141 kB / 273.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.569e-05/0.01036, allocations: 71.27 kB / 273.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.989e-06/0.01037, allocations: 0 / 273.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.0104, allocations: 12.5 kB / 273.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.0104, allocations: 0 / 273.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of Templates: time 0.002835/0.01323, allocations: 338.8 kB / 274.1 MB, free: 15.55 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.350431493949145]