Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.0008115/0.0008115, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001034/0.001846, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007139/0.0007139, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009356/0.00165, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.009/1.009, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09357/1.102, allocations: 53.87 MB / 243.8 MB, free: 14.9 MB / 250.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.696e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002214/0.002231, allocations: 1.654 MB / 246.7 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002546/0.002485, allocations: 152.1 kB / 246.8 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.3e-05/0.002548, allocations: 0 / 246.8 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.601e-05/0.002584, allocations: 3.938 kB / 246.8 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.002651, allocations: 15.86 kB / 246.8 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.002801, allocations: 35.91 kB / 246.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.778e-05/0.002889, allocations: 35.86 kB / 246.9 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.704e-05/0.002966, allocations: 15.97 kB / 246.9 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.003027, allocations: 19.98 kB / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.13e-05/0.003068, allocations: 15.92 kB / 247 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.003088, allocations: 0 / 247 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.003099, allocations: 4 kB / 247 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.00314, allocations: 11.94 kB / 247 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.003165, allocations: 4 kB / 247 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.923e-05/0.003254, allocations: 39.78 kB / 247 MB, free: 11.62 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.003266, allocations: 4 kB / 247 MB, free: 11.62 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.003267, allocations: 0 / 247 MB, free: 11.62 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.003283, allocations: 0 / 247 MB, free: 11.62 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.004494/0.007777, allocations: 276.3 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.007812, allocations: 12.62 kB / 247.3 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.007842, allocations: 8.922 kB / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.007997, allocations: 137.6 kB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.008007, allocations: 4.375 kB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.008015, allocations: 4.375 kB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.008201, allocations: 114.3 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.008208, allocations: 4.125 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.008215, allocations: 8.375 kB / 247.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.00822, allocations: 384 / 247.6 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.037e-05/0.008241, allocations: 11.92 kB / 247.6 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.008422, allocations: 145.2 kB / 247.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.008542, allocations: 53.08 kB / 247.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.008564, allocations: 17.78 kB / 247.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.008584, allocations: 4 kB / 247.8 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.008606, allocations: 34.55 kB / 247.8 MB, free: 10.68 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.008607, allocations: 0 / 247.8 MB, free: 10.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000119/0.008726, allocations: 53.62 kB / 247.9 MB, free: 10.62 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.008774, allocations: 84.98 kB / 248 MB, free: 10.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.00885, allocations: 138 kB / 248.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.00886, allocations: 25.7 kB / 248.1 MB, free: 10.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.008895, allocations: 84.12 kB / 248.2 MB, free: 10.26 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.008909, allocations: 4.078 kB / 248.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.008937, allocations: 21.72 kB / 248.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.009022, allocations: 318.8 kB / 248.6 MB, free: 9.906 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.281e-06/0.009028, allocations: 0 / 248.6 MB, free: 9.906 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-06/0.009034, allocations: 0 / 248.6 MB, free: 9.906 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.831e-05/0.009052, allocations: 12.84 kB / 248.6 MB, free: 9.891 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.009054, allocations: 0 / 248.6 MB, free: 9.891 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.414e-05/0.009098, allocations: 33.64 kB / 248.6 MB, free: 9.852 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.00911, allocations: 7.984 kB / 248.6 MB, free: 9.844 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.009114, allocations: 4 kB / 248.6 MB, free: 9.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.009123, allocations: 8.281 kB / 248.6 MB, free: 9.832 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.569e-05/0.009158, allocations: 3.938 kB / 248.6 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.00916, allocations: 0 / 248.6 MB, free: 9.828 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.009175, allocations: 4 kB / 248.6 MB, free: 9.824 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.00918, allocations: 3.984 kB / 248.6 MB, free: 9.82 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 (1): * Single equations (assignments): 1 * 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 6.024e-05/0.00924, allocations: 108.7 kB / 248.7 MB, free: 9.703 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.311e-05/0.009283, allocations: 37.69 kB / 248.8 MB, free: 9.66 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.009311, allocations: 12.34 kB / 248.8 MB, free: 9.648 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.009314, allocations: 3.984 kB / 248.8 MB, free: 9.645 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.009317, allocations: 7.938 kB / 248.8 MB, free: 9.637 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.00932, allocations: 4 kB / 248.8 MB, free: 9.633 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.009428, allocations: 73.83 kB / 248.9 MB, free: 9.543 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.009429, allocations: 0 / 248.9 MB, free: 9.543 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.009466, allocations: 15.92 kB / 248.9 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/0.009493, allocations: 11.95 kB / 248.9 MB, free: 9.516 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.009494, allocations: 0 / 248.9 MB, free: 9.516 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.0095, allocations: 4 kB / 248.9 MB, free: 9.512 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.009501, allocations: 0 / 248.9 MB, free: 9.512 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.009503, allocations: 3.938 kB / 248.9 MB, free: 9.508 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.005e-05/0.009573, allocations: 132.4 kB / 249 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.355e-06/0.009582, allocations: 4.031 kB / 249.1 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.678e-05/0.009628, allocations: 7.984 kB / 249.1 MB, free: 9.348 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.009647, allocations: 3.938 kB / 249.1 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.009652, allocations: 4 kB / 249.1 MB, free: 9.34 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.422e-05/0.009676, allocations: 24.78 kB / 249.1 MB, free: 9.312 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009676, allocations: 0 / 249.1 MB, free: 9.312 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001621/0.009839, allocations: 7.938 kB / 249.1 MB, free: 9.305 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.917e-05/0.009918, allocations: 80.41 kB / 249.2 MB, free: 9.215 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.239e-05/0.00997, allocations: 12.86 kB / 249.2 MB, free: 9.199 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.009975, allocations: 3.984 kB / 249.2 MB, free: 9.195 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.027e-05/0.009985, allocations: 8.859 kB / 249.2 MB, free: 9.184 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004231/0.01422, allocations: 24.08 kB / 249.2 MB, free: 9.16 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.01466, allocations: 159 kB / 249.4 MB, free: 8.977 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.168e-05/0.0147, allocations: 63.34 kB / 249.4 MB, free: 8.895 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.859e-05/0.01472, allocations: 0 / 249.4 MB, free: 8.895 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.01477, allocations: 59.36 kB / 249.5 MB, free: 8.836 MB / 250.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01477, allocations: 128 / 249.5 MB, free: 8.836 MB / 250.7 MB Notification: Performance of Templates: time 0.002181/0.01695, allocations: 0.5517 MB / 250.1 MB, free: 8.297 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.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.370796530507505]