Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.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.001765/0.001765, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001955/0.001955, allocations: 191.7 kB / 23.71 MB, free: 4.406 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.474/1.474, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001667/0.001667, allocations: 55.89 kB / 370.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2508, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.00293/0.2537, allocations: 1.619 MB / 424.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000943/0.2547, allocations: 494.7 kB / 425.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.136e-05/0.2548, allocations: 3.938 kB / 425.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.721e-05/0.2548, allocations: 7.938 kB / 425.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001254/0.2549, allocations: 11.86 kB / 425.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.2552, allocations: 59.77 kB / 425.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.2553, allocations: 59.78 kB / 425.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2554, allocations: 19.86 kB / 425.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.683e-05/0.2555, allocations: 27.92 kB / 425.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.479e-05/0.2556, allocations: 27.8 kB / 425.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.2556, allocations: 4 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.2556, allocations: 3.938 kB / 425.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.722e-05/0.2557, allocations: 15.98 kB / 425.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.393e-05/0.2557, allocations: 27.78 kB / 425.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.2558, allocations: 69.92 kB / 425.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2558, allocations: 3.938 kB / 425.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2558, allocations: 0 / 425.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.2558, allocations: 0 / 425.5 MB, free: 12.03 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.0005272/0.2564, allocations: 317.9 kB / 425.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.2564, allocations: 8.031 kB / 425.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.2565, allocations: 12.89 kB / 425.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.2568, allocations: 154.2 kB / 426 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.2568, allocations: 4.375 kB / 426 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.2568, allocations: 4.375 kB / 426 MB, free: 11.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.2572, allocations: 147 kB / 426.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2572, allocations: 0 / 426.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2572, allocations: 0 / 426.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.2573, allocations: 4 kB / 426.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.48e-05/0.2573, allocations: 27.91 kB / 426.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003212/0.2577, allocations: 235.1 kB / 426.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.2578, allocations: 94.36 kB / 426.5 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/0.2579, allocations: 47.48 kB / 426.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.2579, allocations: 0 / 426.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.258, allocations: 38.5 kB / 426.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.258, allocations: 0 / 426.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003281/0.2583, allocations: 105.5 kB / 426.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.897e-05/0.2584, allocations: 133 kB / 426.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.2585, allocations: 157.9 kB / 427 MB, free: 10.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.2586, allocations: 25.7 kB / 427 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.2586, allocations: 88.14 kB / 427.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.2586, allocations: 11.89 kB / 427.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.2587, allocations: 21.7 kB / 427.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.2588, allocations: 318.8 kB / 427.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.838e-05/0.2589, allocations: 15.92 kB / 427.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.436e-05/0.2589, allocations: 49.14 kB / 427.5 MB, free: 9.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.259, allocations: 69.02 kB / 427.5 MB, free: 9.703 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.2591, allocations: 3.938 kB / 427.6 MB, free: 9.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001637/0.2592, allocations: 85.5 kB / 427.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2592, allocations: 4 kB / 427.6 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2592, allocations: 4.188 kB / 427.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.2592, allocations: 4 kB / 427.6 MB, free: 9.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-05/0.2593, allocations: 15.98 kB / 427.7 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.2593, allocations: 4 kB / 427.7 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.2594, allocations: 4 kB / 427.7 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.2594, allocations: 128 / 427.7 MB, free: 9.574 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.0001011/0.2595, allocations: 129.7 kB / 427.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.2596, allocations: 73.48 kB / 427.9 MB, free: 9.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.2596, allocations: 16.05 kB / 427.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.2597, allocations: 8 kB / 427.9 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2597, allocations: 0 / 427.9 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2597, allocations: 0 / 427.9 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001737/0.2598, allocations: 125.2 kB / 428 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2598, allocations: 4 kB / 428 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.719e-05/0.2599, allocations: 8 kB / 428 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.2599, allocations: 7.984 kB / 428 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.2599, allocations: 0 / 428 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2599, allocations: 0 / 428 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.2599, allocations: 4 kB / 428 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.2602, allocations: 201.9 kB / 428.2 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.2602, allocations: 19.94 kB / 428.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.2602, allocations: 0 / 428.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.2603, allocations: 4 kB / 428.3 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.2603, allocations: 0 / 428.3 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.2603, allocations: 7.984 kB / 428.3 MB, free: 8.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.2605, allocations: 114.1 kB / 428.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2605, allocations: 0 / 428.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.2607, allocations: 11.95 kB / 428.4 MB, free: 8.781 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.000124/0.2608, allocations: 115.1 kB / 428.5 MB, free: 8.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.261, allocations: 39.92 kB / 428.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.261, allocations: 0 / 428.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.988e-05/0.261, allocations: 11.98 kB / 428.6 MB, free: 8.609 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.2614, allocations: 46.84 kB / 428.6 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/0.2619, allocations: 202.6 kB / 428.8 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.944e-05/0.2619, allocations: 83.19 kB / 428.9 MB, free: 8.234 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.701e-05/0.262, allocations: 8.656 kB / 428.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.262, allocations: 15.44 kB / 428.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.262, allocations: 0 / 428.9 MB, free: 8.211 MB / 334.1 MB Notification: Performance of Templates: time 0.003564/0.2656, allocations: 0.9789 MB / 429.9 MB, free: 7.258 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.555000862106681]