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.001565/0.001565, allocations: 112.2 kB / 21.19 MB, free: 0.7734 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.002007/0.002007, allocations: 210.1 kB / 24.5 MB, free: 4.152 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.434/1.434, allocations: 230.6 MB / 258.3 MB, free: 8 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.001613/0.001613, allocations: 47.94 kB / 379 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2435, allocations: 53.37 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003237/0.2467, allocations: 1.644 MB / 434.1 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.2479, allocations: 0.592 MB / 434.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.248, allocations: 7.938 kB / 434.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.755e-05/0.2481, allocations: 3.938 kB / 434.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.2482, allocations: 19.84 kB / 434.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.2486, allocations: 63.75 kB / 434.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.2487, allocations: 59.73 kB / 434.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.2488, allocations: 12.22 kB / 434.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.2489, allocations: 43.84 kB / 434.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.249, allocations: 27.8 kB / 434.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.249, allocations: 4 kB / 434.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.847e-05/0.2491, allocations: 8 kB / 434.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.876e-05/0.2491, allocations: 15.92 kB / 434.9 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.39e-05/0.2492, allocations: 31.8 kB / 434.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.2494, allocations: 80.8 kB / 435 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2494, allocations: 0 / 435 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2494, allocations: 0 / 435 MB, free: 4.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.2494, allocations: 0 / 435 MB, free: 4.32 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.000503/0.2499, allocations: 321.9 kB / 435.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2499, allocations: 8.031 kB / 435.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.2501, allocations: 24.83 kB / 435.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.2504, allocations: 150.3 kB / 435.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.2504, allocations: 4.375 kB / 435.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.2504, allocations: 4.375 kB / 435.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.2507, allocations: 143 kB / 435.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.2507, allocations: 4 kB / 435.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.2508, allocations: 0 / 435.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2508, allocations: 0 / 435.7 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.371e-05/0.2509, allocations: 31.92 kB / 435.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003818/0.2512, allocations: 258.5 kB / 435.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.2514, allocations: 98.36 kB / 436 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.2515, allocations: 43.48 kB / 436.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.2515, allocations: 0 / 436.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.2515, allocations: 38.56 kB / 436.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.2515, allocations: 0 / 436.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003113/0.2519, allocations: 101.5 kB / 436.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.252, allocations: 145 kB / 436.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.2521, allocations: 151.5 kB / 436.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.2521, allocations: 29.7 kB / 436.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.2522, allocations: 88.14 kB / 436.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.2522, allocations: 11.94 kB / 436.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.2523, allocations: 17.72 kB / 436.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2524, allocations: 326.7 kB / 437 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-05/0.2525, allocations: 12 kB / 437 MB, free: 2.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.416e-05/0.2525, allocations: 57.14 kB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.2527, allocations: 65.02 kB / 437.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2527, allocations: 0 / 437.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000163/0.2528, allocations: 89.5 kB / 437.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.2528, allocations: 4 kB / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2529, allocations: 0 / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.2529, allocations: 12.12 kB / 437.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.884e-05/0.253, allocations: 15.98 kB / 437.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.253, allocations: 0 / 437.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.253, allocations: 4 kB / 437.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.253, allocations: 4 kB / 437.2 MB, free: 1.809 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 0.0001081/0.2531, allocations: 125.7 kB / 437.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.2532, allocations: 69.53 kB / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.2533, allocations: 20.02 kB / 437.4 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.2533, allocations: 4 kB / 437.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2533, allocations: 0 / 437.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2533, allocations: 0 / 437.4 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.2535, allocations: 156.7 kB / 437.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2535, allocations: 3.938 kB / 437.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-05/0.2536, allocations: 15.98 kB / 437.6 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.2536, allocations: 3.984 kB / 437.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.2536, allocations: 0 / 437.6 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2536, allocations: 4 kB / 437.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2536, allocations: 0 / 437.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002381/0.2538, allocations: 205.9 kB / 437.8 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.2539, allocations: 19.94 kB / 437.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.2539, allocations: 0 / 437.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.254, allocations: 7.984 kB / 437.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.254, allocations: 4.188 kB / 437.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.254, allocations: 8 kB / 437.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.055e-05/0.2541, allocations: 115.2 kB / 438 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2541, allocations: 0 / 438 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.2544, allocations: 8 kB / 438 MB, free: 0.9648 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 0.0001016/0.2545, allocations: 95.25 kB / 438.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001722/0.2546, allocations: 47.91 kB / 438.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2546, allocations: 0 / 438.1 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.634e-05/0.2547, allocations: 11.94 kB / 438.1 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.2551, allocations: 53.78 kB / 438.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.2555, allocations: 240.2 kB / 438.4 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.2559, allocations: 0.7009 MB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.548e-05/0.256, allocations: 15.44 kB / 439.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.256, allocations: 0 / 439.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of Templates: time 0.003029/0.259, allocations: 1.038 MB / 440.2 MB, free: 14.7 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 -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: 6.493380814092234]