Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001823/0.001823, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002103/0.002103, allocations: 214.5 kB / 24.48 MB, free: 3.836 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.403/1.403, allocations: 230.5 MB / 258.1 MB, free: 7.816 MB / 206.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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.91 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.258, allocations: 53.41 MB / 432.4 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003295/0.2613, allocations: 1.696 MB / 434.1 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004655/0.2617, allocations: 167.4 kB / 434.3 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.706e-05/0.2618, allocations: 3.938 kB / 434.3 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.051e-05/0.2619, allocations: 7.922 kB / 434.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.262, allocations: 15.88 kB / 434.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.2623, allocations: 43.27 kB / 434.3 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.2624, allocations: 55.78 kB / 434.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.2626, allocations: 27.62 kB / 434.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.226e-05/0.2626, allocations: 19.92 kB / 434.4 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.6e-05/0.2627, allocations: 23.8 kB / 434.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.2627, allocations: 12 kB / 434.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.2627, allocations: 4 kB / 434.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.2627, allocations: 23.86 kB / 434.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.2628, allocations: 19.88 kB / 434.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.2629, allocations: 74.61 kB / 434.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2629, allocations: 0 / 434.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2629, allocations: 0 / 434.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.263, allocations: 0 / 434.6 MB, free: 4.355 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005256/0.2635, allocations: 317.9 kB / 434.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2635, allocations: 11.98 kB / 434.9 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.2636, allocations: 16.83 kB / 434.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.2638, allocations: 138.4 kB / 435.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2638, allocations: 4.359 kB / 435.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.2639, allocations: 12.38 kB / 435.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.2642, allocations: 162.2 kB / 435.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2642, allocations: 4.125 kB / 435.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.2643, allocations: 7.938 kB / 435.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2643, allocations: 4 kB / 435.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.2644, allocations: 39.91 kB / 435.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.2648, allocations: 301.6 kB / 435.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.265, allocations: 103.8 kB / 435.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.2651, allocations: 54.66 kB / 435.7 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.2651, allocations: 7.938 kB / 435.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.2652, allocations: 38.72 kB / 435.8 MB, free: 2.996 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.2652, allocations: 4 kB / 435.8 MB, free: 2.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.000346/0.2655, allocations: 121.5 kB / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.433e-05/0.2656, allocations: 114.8 kB / 436 MB, free: 2.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.2658, allocations: 136.5 kB / 436.1 MB, free: 2.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.2658, allocations: 25.7 kB / 436.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.931e-05/0.2659, allocations: 92.12 kB / 436.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.2659, allocations: 7.953 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.2659, allocations: 29.66 kB / 436.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.2661, allocations: 315.1 kB / 436.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.148e-05/0.2661, allocations: 23.98 kB / 436.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.129e-05/0.2662, allocations: 63.72 kB / 436.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.2664, allocations: 95.59 kB / 436.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.2664, allocations: 4 kB / 436.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001937/0.2666, allocations: 105.6 kB / 436.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2666, allocations: 8 kB / 436.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2666, allocations: 3.938 kB / 436.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.2666, allocations: 4.281 kB / 436.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.2667, allocations: 27.92 kB / 436.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.2667, allocations: 4 kB / 436.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.2667, allocations: 11.89 kB / 437 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.2667, allocations: 4 kB / 437 MB, free: 1.695 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001114/0.2669, allocations: 129.7 kB / 437.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.267, allocations: 69.64 kB / 437.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.99e-05/0.267, allocations: 16.7 kB / 437.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.267, allocations: 4 kB / 437.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.267, allocations: 0 / 437.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.267, allocations: 7.938 kB / 437.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.2672, allocations: 129.2 kB / 437.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2672, allocations: 7.938 kB / 437.3 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.485e-05/0.2673, allocations: 23.98 kB / 437.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2673, allocations: 0 / 437.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.2673, allocations: 11.92 kB / 437.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2673, allocations: 0 / 437.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2673, allocations: 0 / 437.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.2677, allocations: 308.3 kB / 437.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.009e-05/0.2678, allocations: 27.94 kB / 437.7 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.2678, allocations: 4 kB / 437.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.2679, allocations: 7.938 kB / 437.7 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.2679, allocations: 7.922 kB / 437.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.2679, allocations: 4 kB / 437.7 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.853e-05/0.268, allocations: 103.3 kB / 437.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.268, allocations: 0 / 437.8 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002738/0.2683, allocations: 12 kB / 437.8 MB, free: 0.7656 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0001156/0.2684, allocations: 103.2 kB / 437.9 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.2686, allocations: 59.84 kB / 438 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2686, allocations: 4 kB / 438 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.2686, allocations: 4 kB / 438 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.2691, allocations: 51.97 kB / 438 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.2695, allocations: 218.1 kB / 438.2 MB, free: 296 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.2696, allocations: 95.27 kB / 438.3 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.2696, allocations: 11.44 kB / 438.3 MB, free: 168 kB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2696, allocations: 0 / 438.3 MB, free: 168 kB / 334.1 MB Notification: Performance of Templates: time 0.002521/0.2721, allocations: 0.9322 MB / 439.3 MB, free: 15.23 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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: 6.605232970789075]