Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001329/0.001329, 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.001468/0.001468, allocations: 215.4 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.431/1.431, 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.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 43.94 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2396, allocations: 53.37 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002837/0.2424, allocations: 1.562 MB / 433.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009658/0.2434, allocations: 0.4987 MB / 434.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.2434, allocations: 0 / 434.4 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.476e-05/0.2435, allocations: 7.922 kB / 434.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.2436, allocations: 11.88 kB / 434.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.2439, allocations: 55.81 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.244, allocations: 39.84 kB / 434.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2441, allocations: 11.94 kB / 434.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.2442, allocations: 35.86 kB / 434.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.042e-05/0.2443, allocations: 19.91 kB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.2443, allocations: 4 kB / 434.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.949e-05/0.2443, allocations: 4 kB / 434.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.2444, allocations: 15.92 kB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.2444, allocations: 15.88 kB / 434.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.2446, allocations: 58.36 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2446, allocations: 0 / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2446, allocations: 0 / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.2446, allocations: 0 / 434.7 MB, free: 4.344 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004945/0.2451, allocations: 294.1 kB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.2451, allocations: 12.03 kB / 435 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.2453, allocations: 16.88 kB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.2455, allocations: 142.3 kB / 435.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.2456, allocations: 4.375 kB / 435.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.2456, allocations: 8.359 kB / 435.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.2458, allocations: 101.3 kB / 435.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2458, allocations: 4 kB / 435.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.2458, allocations: 0 / 435.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2458, allocations: 0 / 435.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.542e-05/0.2459, allocations: 19.98 kB / 435.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.2462, allocations: 209.4 kB / 435.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.354e-05/0.2463, allocations: 45.14 kB / 435.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.2463, allocations: 17.78 kB / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.2464, allocations: 0 / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.2464, allocations: 46.5 kB / 435.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2464, allocations: 0 / 435.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002371/0.2466, allocations: 65.56 kB / 435.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.2467, allocations: 85.05 kB / 435.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2468, allocations: 140.9 kB / 435.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.2469, allocations: 25.7 kB / 435.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.2469, allocations: 92.14 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.2469, allocations: 0 / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.247, allocations: 21.91 kB / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2471, allocations: 318.8 kB / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.132e-05/0.2472, allocations: 7.984 kB / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.2472, allocations: 17.72 kB / 436.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.167e-05/0.2473, allocations: 33.64 kB / 436.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2473, allocations: 0 / 436.4 MB, free: 2.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001222/0.2474, allocations: 53.72 kB / 436.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.2474, allocations: 8.031 kB / 436.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2474, allocations: 7.922 kB / 436.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.2474, allocations: 4 kB / 436.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.478e-05/0.2475, allocations: 4 kB / 436.4 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2475, allocations: 3.938 kB / 436.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.685e-05/0.2475, allocations: 0 / 436.4 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.2475, allocations: 4 kB / 436.5 MB, free: 2.352 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.799e-05/0.2476, allocations: 121.8 kB / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.2477, allocations: 41.66 kB / 436.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.2477, allocations: 15.78 kB / 436.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.2477, allocations: 4 kB / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.2477, allocations: 0 / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.2477, allocations: 0 / 436.6 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.2479, allocations: 113.3 kB / 436.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.2479, allocations: 7.938 kB / 436.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.2479, allocations: 4 kB / 436.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.2479, allocations: 3.984 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2479, allocations: 0 / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2479, allocations: 4 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.2479, allocations: 7.938 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.2481, allocations: 160.4 kB / 436.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.2482, allocations: 15.88 kB / 436.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.2482, allocations: 0 / 436.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.2482, allocations: 4 kB / 436.9 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.2483, allocations: 7.922 kB / 437 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.2483, allocations: 0 / 437 MB, free: 1.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.77e-05/0.2484, allocations: 111.3 kB / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2484, allocations: 0 / 437.1 MB, free: 1.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.2486, allocations: 4 kB / 437.1 MB, free: 1.672 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.104e-05/0.2487, allocations: 103.2 kB / 437.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.2488, allocations: 27.92 kB / 437.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2488, allocations: 0 / 437.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.655e-05/0.2488, allocations: 4 kB / 437.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.2491, allocations: 19.95 kB / 437.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.2495, allocations: 156 kB / 437.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.668e-05/0.2496, allocations: 87.3 kB / 437.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.525e-05/0.2496, allocations: 0 / 437.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.2497, allocations: 7.438 kB / 437.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2497, allocations: 4 kB / 437.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of Templates: time 0.002822/0.2525, allocations: 0.5432 MB / 438 MB, free: 0.6797 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.274144905008143]