Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 186 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 51.91 kB / 371.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2405, allocations: 52.18 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002984/0.2435, allocations: 1.569 MB / 425.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009623/0.2444, allocations: 470.8 kB / 425.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.234e-05/0.2445, allocations: 3.938 kB / 425.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.35e-05/0.2445, allocations: 7.938 kB / 425.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.2447, allocations: 15.81 kB / 425.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.2449, allocations: 51.81 kB / 425.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.753e-05/0.245, allocations: 39.92 kB / 426 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2451, allocations: 15.97 kB / 426 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.218e-05/0.2452, allocations: 19.88 kB / 426 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/0.2452, allocations: 19.86 kB / 426 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.2453, allocations: 4 kB / 426 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.403e-05/0.2453, allocations: 4 kB / 426 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.2453, allocations: 23.92 kB / 426 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.2454, allocations: 15.88 kB / 426.1 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.2455, allocations: 62.34 kB / 426.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2455, allocations: 0 / 426.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2455, allocations: 0 / 426.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.2455, allocations: 0 / 426.1 MB, free: 12.18 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.0005033/0.246, allocations: 298 kB / 426.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.246, allocations: 8.031 kB / 426.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.2461, allocations: 8.891 kB / 426.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.2463, allocations: 153.2 kB / 426.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.2463, allocations: 4.375 kB / 426.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.2463, allocations: 4.375 kB / 426.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.2466, allocations: 109.3 kB / 426.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2466, allocations: 0 / 426.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.2466, allocations: 0 / 426.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2466, allocations: 3.938 kB / 426.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.736e-05/0.2467, allocations: 23.98 kB / 426.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.247, allocations: 209.4 kB / 426.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.943e-05/0.2471, allocations: 45.16 kB / 427 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.2471, allocations: 25.64 kB / 427 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.2472, allocations: 4 kB / 427 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.2472, allocations: 34.56 kB / 427 MB, free: 11.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.2472, allocations: 0 / 427 MB, free: 11.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002292/0.2474, allocations: 61.86 kB / 427.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.412e-05/0.2475, allocations: 85.11 kB / 427.2 MB, free: 10.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.2476, allocations: 142.1 kB / 427.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.2476, allocations: 29.7 kB / 427.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.2477, allocations: 88.14 kB / 427.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.2477, allocations: 0 / 427.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.2477, allocations: 17.67 kB / 427.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.2479, allocations: 318.8 kB / 427.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.2479, allocations: 4 kB / 427.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/0.248, allocations: 25.7 kB / 427.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.072e-05/0.2481, allocations: 37.7 kB / 427.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2481, allocations: 0 / 427.8 MB, free: 10.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001189/0.2482, allocations: 53.56 kB / 427.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.2482, allocations: 4 kB / 427.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2482, allocations: 4 kB / 427.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.2482, allocations: 0 / 427.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.053e-05/0.2483, allocations: 11.98 kB / 427.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2483, allocations: 4.062 kB / 427.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.649e-05/0.2483, allocations: 4 kB / 427.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.2483, allocations: 4 kB / 427.9 MB, free: 10.17 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.885e-05/0.2484, allocations: 117.8 kB / 428 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.597e-05/0.2485, allocations: 41.66 kB / 428.1 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.2485, allocations: 7.812 kB / 428.1 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2485, allocations: 0 / 428.1 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2485, allocations: 0 / 428.1 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2485, allocations: 0 / 428.1 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.2487, allocations: 125.3 kB / 428.2 MB, free: 9.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2487, allocations: 3.938 kB / 428.2 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/0.2487, allocations: 11.88 kB / 428.2 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2487, allocations: 0 / 428.2 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.2487, allocations: 0 / 428.2 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.2487, allocations: 4 kB / 428.2 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2487, allocations: 3.984 kB / 428.2 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.2489, allocations: 160.3 kB / 428.4 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.249, allocations: 19.81 kB / 428.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.249, allocations: 32 / 428.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.249, allocations: 12 kB / 428.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.2491, allocations: 0 / 428.4 MB, free: 9.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.2491, allocations: 3.938 kB / 428.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.401e-05/0.2492, allocations: 114.2 kB / 428.5 MB, free: 9.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2492, allocations: 0 / 428.5 MB, free: 9.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.2494, allocations: 7.938 kB / 428.5 MB, free: 9.488 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.664e-05/0.2495, allocations: 95.25 kB / 428.6 MB, free: 9.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001215/0.2496, allocations: 24.05 kB / 428.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2496, allocations: 0 / 428.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.64e-05/0.2496, allocations: 7.984 kB / 428.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003143/0.2499, allocations: 31.88 kB / 428.7 MB, free: 9.324 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003497/0.2503, allocations: 185.4 kB / 428.9 MB, free: 9.105 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.595e-05/0.2504, allocations: 79.12 kB / 428.9 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.2504, allocations: 11.44 kB / 428.9 MB, free: 8.996 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2504, allocations: 224 / 428.9 MB, free: 8.996 MB / 334.1 MB Notification: Performance of Templates: time 0.00228/0.2527, allocations: 0.7388 MB / 429.7 MB, free: 8.262 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.610239262226969]