Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001833/0.001833, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002433/0.002433, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 1.219 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.709e-05, allocations: 2.281 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.003073/0.0031, allocations: 1.502 MB / 326.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.004254, allocations: 451.7 kB / 327 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.364e-05/0.004347, allocations: 9.156 kB / 327 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.174e-05/0.004389, allocations: 4.781 kB / 327 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.485e-05/0.004474, allocations: 6.328 kB / 327 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.004797, allocations: 30.22 kB / 327 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.004933, allocations: 42.41 kB / 327.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.005044, allocations: 12.77 kB / 327.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.005205, allocations: 29.77 kB / 327.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.874e-05/0.005264, allocations: 13.64 kB / 327.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.005283, allocations: 2.406 kB / 327.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.721e-05/0.00533, allocations: 13.31 kB / 327.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.005352, allocations: 6.719 kB / 327.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.328e-05/0.005395, allocations: 13.56 kB / 327.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.005541, allocations: 41.16 kB / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.005544, allocations: 0 / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005545, allocations: 0 / 327.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.005551, allocations: 1.125 kB / 327.2 MB, free: 15.05 MB / 302.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.0005564/0.006108, allocations: 279.4 kB / 327.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.006153, allocations: 14.08 kB / 327.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.006311, allocations: 11.91 kB / 327.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.006554, allocations: 124.7 kB / 327.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.006571, allocations: 6.531 kB / 327.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.006589, allocations: 6.469 kB / 327.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.006962, allocations: 113.2 kB / 327.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.006973, allocations: 192 / 327.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.006983, allocations: 384 / 327.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.006993, allocations: 11.47 kB / 327.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.007094, allocations: 19.45 kB / 327.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001532/0.007247, allocations: 104.7 kB / 327.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.007428, allocations: 57.23 kB / 327.9 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.897e-05/0.007507, allocations: 26.44 kB / 327.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.007534, allocations: 1.469 kB / 327.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.007581, allocations: 35.62 kB / 328 MB, free: 14.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.007583, allocations: 1.062 kB / 328 MB, free: 14.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002828/0.007865, allocations: 81.89 kB / 328.1 MB, free: 14.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.007924, allocations: 62.16 kB / 328.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.008037, allocations: 117.4 kB / 328.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.008063, allocations: 25.7 kB / 328.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.008119, allocations: 87.06 kB / 328.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.008122, allocations: 0 / 328.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.008146, allocations: 11.73 kB / 328.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.008305, allocations: 313.3 kB / 328.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-06/0.008311, allocations: 1.188 kB / 328.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.086e-06/0.008314, allocations: 0 / 328.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.29e-05/0.008367, allocations: 80.75 kB / 328.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.35e-05/0.008401, allocations: 75.98 kB / 328.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.843e-05/0.008459, allocations: 29.58 kB / 328.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.336e-05/0.008512, allocations: 83.94 kB / 328.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.067e-05/0.008573, allocations: 81.2 kB / 329 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.873e-05/0.008662, allocations: 156.8 kB / 329.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.882e-05/0.008711, allocations: 81.03 kB / 329.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-05/0.008786, allocations: 155.6 kB / 329.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.223e-05/0.008868, allocations: 77.17 kB / 329.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.008903, allocations: 81.16 kB / 329.5 MB, free: 12.77 MB / 302.1 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.000137/0.00904, allocations: 192.5 kB / 329.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.009176, allocations: 63.7 kB / 329.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.009206, allocations: 6.234 kB / 329.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.009209, allocations: 5.312 kB / 329.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.009216, allocations: 4.594 kB / 329.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.009219, allocations: 1.125 kB / 329.8 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.009322, allocations: 104.7 kB / 329.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.009327, allocations: 1.5 kB / 329.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-05/0.009418, allocations: 11.81 kB / 329.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.009423, allocations: 2.016 kB / 329.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.00943, allocations: 4 kB / 329.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.009434, allocations: 1.062 kB / 329.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.009437, allocations: 0.5156 kB / 329.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.009616, allocations: 91.59 kB / 330 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.00965, allocations: 12.41 kB / 330 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.009666, allocations: 1.125 kB / 330 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.413e-05/0.009701, allocations: 2.922 kB / 330 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-06/0.009704, allocations: 1.156 kB / 330 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.009712, allocations: 1.641 kB / 330 MB, free: 12.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.725e-05/0.009779, allocations: 96.86 kB / 330.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.009779, allocations: 4 kB / 330.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.009997, allocations: 4 kB / 330.2 MB, free: 12.21 MB / 302.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.0001629/0.01016, allocations: 97.02 kB / 330.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.01026, allocations: 16.8 kB / 330.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.01027, allocations: 1.125 kB / 330.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.01027, allocations: 0 / 330.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.01053, allocations: 22.19 kB / 330.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.01086, allocations: 135.9 kB / 330.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.552e-05/0.01093, allocations: 65.02 kB / 330.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.118e-05/0.01094, allocations: 1.906 kB / 330.5 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.01097, allocations: 10.75 kB / 330.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.01097, allocations: 0 / 330.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of Templates: time 0.002666/0.01364, allocations: 327.4 kB / 330.8 MB, free: 11.84 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.305890526622534]