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.0007859/0.0007859, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.001955, allocations: 457.8 kB / 10.45 MB, free: 244 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.000662/0.000662, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000878/0.00154, allocations: 475.6 kB / 11.82 MB, free: 2.348 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 0.9749/0.9749, allocations: 177.5 MB / 190.1 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09242/1.067, allocations: 53.86 MB / 243.9 MB, free: 14.82 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 2.154e-06/2.154e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.6e-05, allocations: 5.547 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.002591/0.002607, allocations: 1.665 MB / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002768/0.002883, allocations: 156.1 kB / 247 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.258e-05/0.002956, allocations: 7.938 kB / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.585e-05/0.002992, allocations: 7.875 kB / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.639e-05/0.003058, allocations: 3.938 kB / 247 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.003223, allocations: 35.89 kB / 247.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.618e-05/0.003319, allocations: 35.86 kB / 247.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.677e-05/0.003396, allocations: 15.97 kB / 247.1 MB, free: 11.6 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.719e-05/0.003463, allocations: 27.92 kB / 247.2 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.051e-05/0.003503, allocations: 8 kB / 247.2 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.003526, allocations: 0 / 247.2 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.003537, allocations: 4 kB / 247.2 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.003583, allocations: 15.92 kB / 247.2 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.003606, allocations: 7.938 kB / 247.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.577e-05/0.003702, allocations: 35.84 kB / 247.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.00371, allocations: 0 / 247.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003711, allocations: 0 / 247.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.003721, allocations: 0 / 247.2 MB, free: 11.5 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.0003709/0.004092, allocations: 276.3 kB / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.004127, allocations: 12.62 kB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.004162, allocations: 16.92 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.004327, allocations: 133.6 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.004336, allocations: 4.375 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.004348, allocations: 4.375 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.004532, allocations: 110.3 kB / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.004541, allocations: 192 / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.004548, allocations: 4.375 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.004553, allocations: 8.312 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.896e-05/0.004572, allocations: 11.92 kB / 247.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.00475, allocations: 153.1 kB / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.004867, allocations: 49.08 kB / 248 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.405e-05/0.004891, allocations: 13.78 kB / 248 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.004906, allocations: 4 kB / 248 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.004929, allocations: 34.56 kB / 248 MB, free: 10.56 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.004929, allocations: 0 / 248 MB, free: 10.56 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000131/0.00506, allocations: 57.61 kB / 248.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.005106, allocations: 81.05 kB / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.005185, allocations: 134.6 kB / 248.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.0052, allocations: 29.7 kB / 248.3 MB, free: 10.22 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.005235, allocations: 84.12 kB / 248.4 MB, free: 10.14 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.005247, allocations: 3.953 kB / 248.4 MB, free: 10.13 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.005275, allocations: 13.72 kB / 248.4 MB, free: 10.11 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.005361, allocations: 310.8 kB / 248.7 MB, free: 9.801 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-06/0.00537, allocations: 4 kB / 248.8 MB, free: 9.797 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-06/0.005377, allocations: 4.109 kB / 248.8 MB, free: 9.793 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.905e-05/0.005396, allocations: 16.92 kB / 248.8 MB, free: 9.773 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005398, allocations: 0 / 248.8 MB, free: 9.773 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.207e-05/0.00544, allocations: 29.7 kB / 248.8 MB, free: 9.738 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.005452, allocations: 4 kB / 248.8 MB, free: 9.734 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.005455, allocations: 3.938 kB / 248.8 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.005466, allocations: 0 / 248.8 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.415e-05/0.005501, allocations: 11.92 kB / 248.8 MB, free: 9.719 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.005503, allocations: 0 / 248.8 MB, free: 9.719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.005521, allocations: 8 kB / 248.8 MB, free: 9.711 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.005524, allocations: 4.031 kB / 248.8 MB, free: 9.707 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 5.556e-05/0.00558, allocations: 112.7 kB / 248.9 MB, free: 9.586 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.005626, allocations: 37.69 kB / 249 MB, free: 9.543 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.005656, allocations: 12.58 kB / 249 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.005658, allocations: 3.984 kB / 249 MB, free: 9.523 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.005662, allocations: 3.938 kB / 249 MB, free: 9.52 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.005666, allocations: 4 kB / 249 MB, free: 9.516 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.005778, allocations: 69.83 kB / 249.1 MB, free: 9.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.005781, allocations: 4 kB / 249.1 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.005815, allocations: 7.984 kB / 249.1 MB, free: 9.418 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.005846, allocations: 27.81 kB / 249.1 MB, free: 9.391 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.005847, allocations: 0 / 249.1 MB, free: 9.391 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-06/0.005851, allocations: 0 / 249.1 MB, free: 9.391 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.005854, allocations: 4 kB / 249.1 MB, free: 9.387 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.005856, allocations: 3.938 kB / 249.1 MB, free: 9.383 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.304e-05/0.005929, allocations: 136.4 kB / 249.2 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-06/0.005938, allocations: 0 / 249.2 MB, free: 9.23 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.939e-05/0.005988, allocations: 4 kB / 249.3 MB, free: 9.227 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.00601, allocations: 3.984 kB / 249.3 MB, free: 9.223 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.006013, allocations: 0 / 249.3 MB, free: 9.223 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.641e-05/0.00604, allocations: 32.05 kB / 249.3 MB, free: 9.191 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00604, allocations: 0 / 249.3 MB, free: 9.191 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000198/0.006238, allocations: 8 kB / 249.3 MB, free: 9.184 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.105e-05/0.006309, allocations: 80.36 kB / 249.4 MB, free: 9.094 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.454e-05/0.006363, allocations: 12.84 kB / 249.4 MB, free: 9.078 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.006367, allocations: 0 / 249.4 MB, free: 9.078 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.554e-05/0.006383, allocations: 8.859 kB / 249.4 MB, free: 9.066 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.006636, allocations: 80.2 kB / 249.5 MB, free: 8.973 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.007027, allocations: 171.2 kB / 249.6 MB, free: 8.777 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.083e-05/0.007068, allocations: 59.34 kB / 249.7 MB, free: 8.699 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.769e-05/0.007086, allocations: 4 kB / 249.7 MB, free: 8.695 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.007136, allocations: 55.36 kB / 249.8 MB, free: 8.641 MB / 250.7 MB Notification: Performance of SimCode: time 7.32e-07/0.007137, allocations: 0 / 249.8 MB, free: 8.641 MB / 250.7 MB Notification: Performance of Templates: time 0.002308/0.009444, allocations: 0.5567 MB / 250.3 MB, free: 8.102 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.339837236329913]