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.0009659/0.0009659, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001177/0.001177, allocations: 168.4 kB / 24.91 MB, free: 8.715 MB / 18.57 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.037/1.037, allocations: 177 MB / 205.2 MB, free: 4.414 MB / 186.7 MB " [Timeout remaining time 179] 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 1.433e-06/1.433e-06, allocations: 0 / 273.4 MB, free: 4.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.413e-05, allocations: 4.141 kB / 273.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.00182/0.001834, allocations: 1.593 MB / 275 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005513/0.002386, allocations: 473.7 kB / 275.5 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.002439, allocations: 4 kB / 275.5 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.002461, allocations: 3.938 kB / 275.5 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.628e-05/0.002517, allocations: 7.875 kB / 275.5 MB, free: 2.152 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.002699, allocations: 31.84 kB / 275.5 MB, free: 2.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.204e-05/0.002771, allocations: 45.81 kB / 275.6 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.612e-05/0.002827, allocations: 11.98 kB / 275.6 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.244e-05/0.002919, allocations: 23.92 kB / 275.6 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.84e-05/0.002958, allocations: 15.92 kB / 275.6 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.002971, allocations: 4 kB / 275.6 MB, free: 2.023 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.797e-05/0.003009, allocations: 12.58 kB / 275.6 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.003021, allocations: 11.98 kB / 275.7 MB, free: 2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.003038, allocations: 11.94 kB / 275.7 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.659e-05/0.003114, allocations: 31.89 kB / 275.7 MB, free: 1.957 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003116, allocations: 0 / 275.7 MB, free: 1.957 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003116, allocations: 0 / 275.7 MB, free: 1.957 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.735e-06/0.003119, allocations: 0 / 275.7 MB, free: 1.957 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.0002263/0.003345, allocations: 240.9 kB / 275.9 MB, free: 1.699 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.003378, allocations: 12.03 kB / 275.9 MB, free: 1.688 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.423e-05/0.003462, allocations: 12.92 kB / 276 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.003572, allocations: 129.7 kB / 276.1 MB, free: 1.523 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-06/0.003579, allocations: 4.375 kB / 276.1 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-06/0.003584, allocations: 8.312 kB / 276.1 MB, free: 1.512 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.003716, allocations: 100.5 kB / 276.2 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-06/0.003721, allocations: 192 / 276.2 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.3e-06/0.003726, allocations: 384 / 276.2 MB, free: 1.398 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.003732, allocations: 11.92 kB / 276.2 MB, free: 1.387 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.504e-05/0.003747, allocations: 0 / 276.2 MB, free: 1.387 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.269e-05/0.0038, allocations: 65 kB / 276.3 MB, free: 1.309 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.003846, allocations: 38.5 kB / 276.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.003863, allocations: 12.84 kB / 276.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.003874, allocations: 4 kB / 276.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.003889, allocations: 30.56 kB / 276.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.00389, allocations: 0 / 276.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 7.493e-05/0.003965, allocations: 45.67 kB / 276.4 MB, free: 1.152 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.003995, allocations: 59.41 kB / 276.5 MB, free: 1.082 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.675e-05/0.004041, allocations: 114.9 kB / 276.6 MB, free: 0.957 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.004049, allocations: 25.7 kB / 276.6 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.973e-05/0.004069, allocations: 88.12 kB / 276.7 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.062e-06/0.00407, allocations: 4 kB / 276.7 MB, free: 0.832 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/0.004085, allocations: 13.72 kB / 276.7 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.559e-05/0.004151, allocations: 318.8 kB / 277 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-06/0.004153, allocations: 0 / 277 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-06/0.004156, allocations: 0 / 277 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.554e-05/0.004172, allocations: 75.28 kB / 277.1 MB, free: 428 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/0.004186, allocations: 75.28 kB / 277.2 MB, free: 352 kB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.271e-05/0.004218, allocations: 29.7 kB / 277.2 MB, free: 316 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.004241, allocations: 83.28 kB / 277.3 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.004258, allocations: 79.22 kB / 277.3 MB, free: 152 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.559e-05/0.004314, allocations: 154.6 kB / 277.5 MB, free: 16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.8e-05/0.004332, allocations: 83.22 kB / 277.6 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-05/0.004363, allocations: 162.5 kB / 277.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.866e-05/0.004402, allocations: 83.33 kB / 277.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.004419, allocations: 83.23 kB / 277.9 MB, free: 15.59 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 5.687e-05/0.004476, allocations: 185.1 kB / 278.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.00451, allocations: 37.69 kB / 278.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.056e-05/0.00453, allocations: 12 kB / 278.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.004531, allocations: 3.938 kB / 278.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.004532, allocations: 0 / 278.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.004535, allocations: 0 / 278.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.084e-05/0.004575, allocations: 73.83 kB / 278.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.004577, allocations: 0 / 278.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.004626, allocations: 11.98 kB / 278.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.004628, allocations: 3.938 kB / 278.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-06/0.004632, allocations: 0 / 278.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.004634, allocations: 0 / 278.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.004634, allocations: 0 / 278.2 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.112e-05/0.004665, allocations: 61.08 kB / 278.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.326e-05/0.004678, allocations: 3.984 kB / 278.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-06/0.004686, allocations: 4 kB / 278.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.022e-05/0.004696, allocations: 0 / 278.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-06/0.004698, allocations: 4 kB / 278.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.004701, allocations: 0 / 278.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.586e-05/0.004717, allocations: 20.88 kB / 278.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004717, allocations: 0 / 278.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001037/0.004821, allocations: 4 kB / 278.3 MB, free: 15.12 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 5.445e-05/0.004875, allocations: 80.41 kB / 278.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 2.803e-05/0.004903, allocations: 7.938 kB / 278.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.004905, allocations: 4 kB / 278.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.004905, allocations: 0 / 278.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.337e-05/0.004989, allocations: 17.06 kB / 278.4 MB, free: 15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.005268, allocations: 135.5 kB / 278.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.741e-05/0.005295, allocations: 67.2 kB / 278.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.611e-06/0.005301, allocations: 0 / 278.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.005325, allocations: 47.38 kB / 278.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.005326, allocations: 0 / 278.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of Templates: time 0.001386/0.006711, allocations: 355.3 kB / 279 MB, free: 14.38 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) [Timeout 240] 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","",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.647417154163122]