Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 210 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 44.06 kB / 378.9 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2401, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003269/0.2434, allocations: 1.571 MB / 433.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.2445, allocations: 0.5025 MB / 434.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.2446, allocations: 0 / 434.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.71e-05/0.2447, allocations: 3.938 kB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.2448, allocations: 19.86 kB / 434.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.2452, allocations: 55.83 kB / 434.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.2453, allocations: 47.78 kB / 434.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2454, allocations: 16.17 kB / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.2456, allocations: 27.92 kB / 434.6 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.2456, allocations: 23.86 kB / 434.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.2456, allocations: 4 kB / 434.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.896e-05/0.2457, allocations: 7.938 kB / 434.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.2457, allocations: 15.92 kB / 434.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.2458, allocations: 19.86 kB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.2459, allocations: 66.34 kB / 434.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2459, allocations: 4 kB / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2459, allocations: 0 / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2459, allocations: 0 / 434.7 MB, free: 4.348 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.0004946/0.2464, allocations: 309.9 kB / 435 MB, free: 4.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2465, allocations: 8.031 kB / 435 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.2466, allocations: 20.88 kB / 435 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.2469, allocations: 133 kB / 435.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.2469, allocations: 4.375 kB / 435.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.2469, allocations: 4.375 kB / 435.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/0.2472, allocations: 117 kB / 435.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2472, allocations: 0 / 435.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2472, allocations: 4 kB / 435.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.2472, allocations: 0 / 435.3 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.763e-05/0.2473, allocations: 11.98 kB / 435.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.2476, allocations: 217.4 kB / 435.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.2477, allocations: 53.08 kB / 435.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.748e-05/0.2478, allocations: 17.78 kB / 435.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.2478, allocations: 0 / 435.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.2478, allocations: 38.55 kB / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.2478, allocations: 3.938 kB / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002414/0.2481, allocations: 61.64 kB / 435.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.2481, allocations: 85.28 kB / 435.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.2483, allocations: 141.8 kB / 435.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.2483, allocations: 25.7 kB / 435.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.2483, allocations: 96.12 kB / 436 MB, free: 2.844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.2484, allocations: 7.891 kB / 436 MB, free: 2.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.2484, allocations: 13.72 kB / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2485, allocations: 314.8 kB / 436.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.2486, allocations: 7.984 kB / 436.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.282e-05/0.2486, allocations: 21.72 kB / 436.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.474e-05/0.2487, allocations: 29.77 kB / 436.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2487, allocations: 3.938 kB / 436.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001325/0.2488, allocations: 61.56 kB / 436.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2488, allocations: 4 kB / 436.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2488, allocations: 4 kB / 436.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2489, allocations: 0 / 436.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.026e-05/0.2489, allocations: 8 kB / 436.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.2489, allocations: 0 / 436.5 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.282e-05/0.249, allocations: 16.05 kB / 436.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.249, allocations: 3.984 kB / 436.5 MB, free: 2.324 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 8.709e-05/0.2491, allocations: 117.7 kB / 436.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/0.2491, allocations: 41.66 kB / 436.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.2492, allocations: 15.75 kB / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2492, allocations: 0 / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2492, allocations: 0 / 436.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2492, allocations: 3.938 kB / 436.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.2493, allocations: 121.2 kB / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2493, allocations: 4.031 kB / 436.8 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.2494, allocations: 7.984 kB / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2494, allocations: 0 / 436.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2494, allocations: 4 kB / 436.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2494, allocations: 0 / 436.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2494, allocations: 0 / 436.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001897/0.2496, allocations: 168.2 kB / 437 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.2496, allocations: 7.953 kB / 437 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.2496, allocations: 7.984 kB / 437 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.2497, allocations: 4.031 kB / 437 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/0.2497, allocations: 4 kB / 437 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.2497, allocations: 4 kB / 437 MB, free: 1.758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.497e-05/0.2498, allocations: 110 kB / 437.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2498, allocations: 0 / 437.1 MB, free: 1.652 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.2501, allocations: 4 kB / 437.1 MB, free: 1.648 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.417e-05/0.2502, allocations: 95.25 kB / 437.2 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.2503, allocations: 23.92 kB / 437.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2503, allocations: 8.125 kB / 437.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.2503, allocations: 7.984 kB / 437.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.2507, allocations: 19.91 kB / 437.3 MB, free: 1.488 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003673/0.2511, allocations: 165.9 kB / 437.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.891e-05/0.2511, allocations: 75.33 kB / 437.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.522e-05/0.2512, allocations: 3.984 kB / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.2512, allocations: 15.59 kB / 437.5 MB, free: 1.184 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2512, allocations: 0 / 437.5 MB, free: 1.184 MB / 334.1 MB Notification: Performance of Templates: time 0.003127/0.2543, allocations: 0.6113 MB / 438.1 MB, free: 0.5859 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 4.250908493006136]