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.001795/0.001795, allocations: 92.31 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002085/0.002085, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 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.469/1.469, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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 1.854e-06/1.854e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.493e-05/3.678e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00328/0.003317, allocations: 1.516 MB / 273.8 MB, free: 292 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009843/0.004302, allocations: 462.8 kB / 274.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.004372, allocations: 3.938 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.004401, allocations: 0 / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.879e-05/0.00448, allocations: 11.92 kB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.004784, allocations: 31.84 kB / 274.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.004887, allocations: 39.84 kB / 274.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.004982, allocations: 8 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.005142, allocations: 39.78 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.453e-05/0.005196, allocations: 7.984 kB / 274.4 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.005216, allocations: 3.984 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.307e-05/0.005259, allocations: 12 kB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.005277, allocations: 4 kB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.005317, allocations: 11.94 kB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.005454, allocations: 47.8 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.005456, allocations: 0 / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005457, allocations: 0 / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.005462, allocations: 0 / 274.5 MB, free: 15.61 MB / 266.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.0004859/0.005948, allocations: 266.2 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.005991, allocations: 12.03 kB / 274.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.006165, allocations: 20.92 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.006409, allocations: 121.7 kB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.006426, allocations: 8.312 kB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.006435, allocations: 4.375 kB / 274.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.006798, allocations: 107.9 kB / 275 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.006804, allocations: 4.188 kB / 275 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.006814, allocations: 4.375 kB / 275.1 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.006821, allocations: 3.938 kB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.803e-05/0.006919, allocations: 19.98 kB / 275.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.007066, allocations: 105.3 kB / 275.2 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.007372, allocations: 58.48 kB / 275.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.88e-05/0.007441, allocations: 20.92 kB / 275.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.007464, allocations: 4 kB / 275.3 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.0075, allocations: 30.56 kB / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.007501, allocations: 0 / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002909/0.007792, allocations: 81.62 kB / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.00786, allocations: 67.27 kB / 275.4 MB, free: 14.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.00798, allocations: 109.8 kB / 275.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.007999, allocations: 25.7 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.008063, allocations: 88.14 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.008065, allocations: 0 / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.008091, allocations: 9.719 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.008263, allocations: 314.8 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-06/0.008268, allocations: 0 / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-06/0.008271, allocations: 4 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.107e-05/0.008312, allocations: 75.28 kB / 276 MB, free: 13.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.035e-05/0.008352, allocations: 75.28 kB / 276.1 MB, free: 13.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.997e-05/0.008412, allocations: 41.75 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/0.008461, allocations: 79.28 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.818e-05/0.008519, allocations: 79.28 kB / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.246e-05/0.008612, allocations: 158.5 kB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.274e-05/0.008655, allocations: 79.22 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.208e-05/0.008737, allocations: 158.5 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.548e-05/0.008822, allocations: 79.22 kB / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.00886, allocations: 75.28 kB / 276.9 MB, free: 13.09 MB / 266.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.0001389/0.008999, allocations: 197.1 kB / 277 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.009137, allocations: 61.64 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.009e-05/0.009167, allocations: 7.984 kB / 277.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.009174, allocations: 8 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.009182, allocations: 3.938 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.009185, allocations: 3.938 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.009294, allocations: 105.3 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.009297, allocations: 0 / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.323e-05/0.009391, allocations: 8 kB / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.009394, allocations: 4 kB / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.009402, allocations: 0 / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.009404, allocations: 0 / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.009404, allocations: 0 / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.009601, allocations: 93 kB / 277.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.009628, allocations: 11.98 kB / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.009642, allocations: 0 / 277.3 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.504e-05/0.009677, allocations: 4 kB / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-06/0.00968, allocations: 0 / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.009685, allocations: 0 / 277.4 MB, free: 12.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.015e-05/0.009765, allocations: 103.1 kB / 277.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009765, allocations: 0 / 277.5 MB, free: 12.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.01, allocations: 4 kB / 277.5 MB, free: 12.42 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 0.0001343/0.01014, allocations: 91.25 kB / 277.5 MB, free: 12.32 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.433e-05/0.01023, allocations: 23.98 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.01023, allocations: 0 / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.01023, allocations: 0 / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.01051, allocations: 25.05 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.01084, allocations: 143.3 kB / 277.7 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.941e-05/0.01092, allocations: 71.33 kB / 277.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.074e-05/0.01093, allocations: 0 / 277.8 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.734e-05/0.01096, allocations: 8.5 kB / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01096, allocations: 0 / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of Templates: time 0.002715/0.01368, allocations: 333 kB / 278.1 MB, free: 11.68 MB / 266.7 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: 4.269647308043204]