Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001902/0.001902, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002244/0.002244, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.427/1.427, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 47.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2421, allocations: 53.36 MB / 432.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002828/0.2449, allocations: 1.633 MB / 434 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2459, allocations: 0.5414 MB / 434.5 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.464e-05/0.246, allocations: 3.938 kB / 434.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.343e-05/0.2461, allocations: 3.938 kB / 434.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.2462, allocations: 23.86 kB / 434.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.2465, allocations: 67.75 kB / 434.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.2466, allocations: 63.7 kB / 434.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.2467, allocations: 12.23 kB / 434.7 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.2468, allocations: 31.86 kB / 434.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.971e-05/0.2469, allocations: 27.84 kB / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.2469, allocations: 4 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.552e-05/0.2469, allocations: 4 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.798e-05/0.247, allocations: 23.92 kB / 434.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.247, allocations: 31.73 kB / 434.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.2472, allocations: 74.34 kB / 434.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2472, allocations: 0 / 434.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2472, allocations: 0 / 434.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.2472, allocations: 0 / 434.9 MB, free: 4.219 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005167/0.2477, allocations: 317.8 kB / 435.2 MB, free: 3.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2477, allocations: 8.031 kB / 435.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.2479, allocations: 24.83 kB / 435.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.2482, allocations: 154.3 kB / 435.4 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.2482, allocations: 8.312 kB / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.2482, allocations: 4.312 kB / 435.4 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003146/0.2485, allocations: 143 kB / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.2485, allocations: 0 / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.2485, allocations: 0 / 435.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2485, allocations: 3.938 kB / 435.5 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.349e-05/0.2486, allocations: 31.92 kB / 435.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.2489, allocations: 235.1 kB / 435.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.2491, allocations: 90.36 kB / 435.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.185e-05/0.2491, allocations: 43.48 kB / 435.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.2492, allocations: 4 kB / 435.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2492, allocations: 38.5 kB / 436 MB, free: 2.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2492, allocations: 4 kB / 436 MB, free: 2.957 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002918/0.2495, allocations: 101.5 kB / 436.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.2496, allocations: 136.5 kB / 436.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.2497, allocations: 155.5 kB / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.2498, allocations: 25.7 kB / 436.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.2498, allocations: 92.14 kB / 436.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.2498, allocations: 8.438 kB / 436.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.2499, allocations: 17.72 kB / 436.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.25, allocations: 326.8 kB / 436.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.857e-05/0.2501, allocations: 12 kB / 436.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.2501, allocations: 45.14 kB / 436.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.2502, allocations: 69.02 kB / 436.9 MB, free: 1.887 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.2502, allocations: 7.938 kB / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001635/0.2504, allocations: 85.5 kB / 437 MB, free: 1.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.2504, allocations: 4 kB / 437 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2504, allocations: 0 / 437 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.2504, allocations: 4 kB / 437 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.059e-05/0.2505, allocations: 11.98 kB / 437 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2505, allocations: 4 kB / 437 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.2506, allocations: 8.188 kB / 437 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.2506, allocations: 4 kB / 437 MB, free: 1.754 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (6): * Single equations (assignments): 6 * 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.881e-05/0.2507, allocations: 133.6 kB / 437.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2508, allocations: 73.52 kB / 437.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.2508, allocations: 15.92 kB / 437.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.2508, allocations: 7.938 kB / 437.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2508, allocations: 0 / 437.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.2508, allocations: 0 / 437.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.251, allocations: 133.4 kB / 437.4 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.251, allocations: 4.094 kB / 437.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.2511, allocations: 11.98 kB / 437.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.2511, allocations: 4 kB / 437.4 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.2511, allocations: 4 kB / 437.4 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2511, allocations: 4 kB / 437.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2511, allocations: 0 / 437.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.2513, allocations: 194 kB / 437.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.2513, allocations: 27.88 kB / 437.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.2514, allocations: 0 / 437.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.2514, allocations: 15.98 kB / 437.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.2515, allocations: 4 kB / 437.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.2515, allocations: 0 / 437.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.2516, allocations: 111.2 kB / 437.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2516, allocations: 0 / 437.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.2518, allocations: 12 kB / 437.8 MB, free: 0.9375 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.525e-05/0.2519, allocations: 95.25 kB / 437.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.2521, allocations: 52.16 kB / 437.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2521, allocations: 0 / 437.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.885e-05/0.2521, allocations: 8 kB / 437.9 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.2525, allocations: 46.17 kB / 438 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.2529, allocations: 217.7 kB / 438.2 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.425e-05/0.253, allocations: 84.47 kB / 438.3 MB, free: 396 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.363e-05/0.253, allocations: 8.672 kB / 438.3 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.2531, allocations: 7.438 kB / 438.3 MB, free: 380 kB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2531, allocations: 4 kB / 438.3 MB, free: 376 kB / 334.1 MB Notification: Performance of Templates: time 0.003579/0.2566, allocations: 1.004 MB / 439.3 MB, free: 15.39 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.2105869310034905]