Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001316/0.001316, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001529/0.001529, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.43/1.43, allocations: 230.5 MB / 258.1 MB, free: 7.789 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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 63.89 kB / 379 MB, free: 2.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2559, allocations: 53.4 MB / 432.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002839/0.2587, allocations: 1.581 MB / 434 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009747/0.2597, allocations: 0.4947 MB / 434.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.126e-05/0.2598, allocations: 4 kB / 434.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.626e-05/0.2598, allocations: 3.938 kB / 434.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.2599, allocations: 15.86 kB / 434.5 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.2602, allocations: 51.83 kB / 434.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.2603, allocations: 55.83 kB / 434.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2604, allocations: 12.17 kB / 434.6 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.2606, allocations: 31.86 kB / 434.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.2606, allocations: 19.91 kB / 434.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.2606, allocations: 4 kB / 434.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.814e-05/0.2607, allocations: 4 kB / 434.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.2607, allocations: 15.92 kB / 434.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.2608, allocations: 23.81 kB / 434.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.2609, allocations: 66.34 kB / 434.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2609, allocations: 0 / 434.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2609, allocations: 4 kB / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.2609, allocations: 0 / 434.8 MB, free: 4.172 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004784/0.2614, allocations: 305.9 kB / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.2614, allocations: 11.98 kB / 435.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.2616, allocations: 20.88 kB / 435.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.2618, allocations: 138.4 kB / 435.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.2618, allocations: 4.375 kB / 435.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.2618, allocations: 384 / 435.2 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.2621, allocations: 117.2 kB / 435.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2621, allocations: 3.938 kB / 435.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.2621, allocations: 3.938 kB / 435.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2621, allocations: 0 / 435.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.599e-05/0.2622, allocations: 19.98 kB / 435.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.2625, allocations: 205.4 kB / 435.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.688e-05/0.2626, allocations: 53.16 kB / 435.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.2627, allocations: 17.7 kB / 435.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.2627, allocations: 4 kB / 435.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.2627, allocations: 34.56 kB / 435.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2627, allocations: 0 / 435.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002305/0.2629, allocations: 65.56 kB / 435.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.263, allocations: 85.05 kB / 435.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.2631, allocations: 144.8 kB / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.2632, allocations: 29.7 kB / 436 MB, free: 2.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.2632, allocations: 88.14 kB / 436.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.2632, allocations: 7.891 kB / 436.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.2633, allocations: 17.72 kB / 436.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2634, allocations: 318.8 kB / 436.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.683e-05/0.2635, allocations: 4 kB / 436.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.152e-05/0.2635, allocations: 21.7 kB / 436.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.63e-05/0.2636, allocations: 33.77 kB / 436.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2636, allocations: 3.938 kB / 436.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001211/0.2637, allocations: 57.58 kB / 436.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2637, allocations: 8 kB / 436.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2637, allocations: 0 / 436.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2637, allocations: 0 / 436.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.66e-05/0.2638, allocations: 7.984 kB / 436.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.2638, allocations: 0 / 436.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.161e-05/0.2638, allocations: 4 kB / 436.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/0.2638, allocations: 4.062 kB / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 9.478e-05/0.2639, allocations: 129.7 kB / 436.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.264, allocations: 33.66 kB / 436.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.044e-05/0.264, allocations: 15.77 kB / 436.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.264, allocations: 0 / 436.7 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.264, allocations: 7.984 kB / 436.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.264, allocations: 4 kB / 436.7 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.2642, allocations: 113.2 kB / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2642, allocations: 0 / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.2642, allocations: 4 kB / 436.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2642, allocations: 8.031 kB / 436.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.2642, allocations: 3.984 kB / 436.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2642, allocations: 0 / 436.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2642, allocations: 0 / 436.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.2644, allocations: 168.2 kB / 437 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.2645, allocations: 19.94 kB / 437.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.2645, allocations: 0 / 437.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.193e-05/0.2645, allocations: 0 / 437.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.2646, allocations: 7.984 kB / 437.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.2646, allocations: 4.031 kB / 437.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.844e-05/0.2647, allocations: 106 kB / 437.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2647, allocations: 4 kB / 437.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.2649, allocations: 7.938 kB / 437.2 MB, free: 1.469 MB / 334.1 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 (2): * Single equations (assignments): 2 * 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 9.618e-05/0.265, allocations: 95.23 kB / 437.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.2651, allocations: 23.92 kB / 437.3 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2651, allocations: 4 kB / 437.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/0.2652, allocations: 12.12 kB / 437.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.2655, allocations: 19.94 kB / 437.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.2658, allocations: 197.4 kB / 437.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.116e-05/0.2659, allocations: 71.33 kB / 437.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.2659, allocations: 11.44 kB / 437.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2659, allocations: 0 / 437.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of Templates: time 0.002331/0.2683, allocations: 0.7572 MB / 438.4 MB, free: 224 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.7628730200231075]