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.001841/0.001841, allocations: 92.62 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001713/0.001713, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 18.57 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.513/1.513, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 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 2.264e-06/2.264e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.333e-05/3.56e-05, allocations: 6.312 kB / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.004689/0.004724, allocations: 1.612 MB / 268.9 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.006453, allocations: 0.4944 MB / 269.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.006575, allocations: 7.938 kB / 269.5 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.182e-05/0.006667, allocations: 7.922 kB / 269.5 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.006856, allocations: 11.88 kB / 269.5 MB, free: 4.551 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.007334, allocations: 55.7 kB / 269.5 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.007547, allocations: 59.77 kB / 269.6 MB, free: 4.438 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.007689, allocations: 15.98 kB / 269.6 MB, free: 4.422 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.007856, allocations: 43.83 kB / 269.6 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.278e-05/0.007938, allocations: 15.92 kB / 269.7 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.007971, allocations: 8 kB / 269.7 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.054e-05/0.007992, allocations: 4 kB / 269.7 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.974e-05/0.008062, allocations: 11.94 kB / 269.7 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.759e-05/0.008139, allocations: 23.91 kB / 269.7 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.008357, allocations: 63.67 kB / 269.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.008362, allocations: 0 / 269.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.008363, allocations: 0 / 269.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.008375, allocations: 3.984 kB / 269.8 MB, free: 4.25 MB / 250.7 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.0007107/0.009085, allocations: 313.9 kB / 270.1 MB, free: 3.914 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.009134, allocations: 8.031 kB / 270.1 MB, free: 3.906 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.009202, allocations: 20.83 kB / 270.1 MB, free: 3.887 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.009591, allocations: 153.5 kB / 270.3 MB, free: 3.711 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.009611, allocations: 8.375 kB / 270.3 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.009626, allocations: 384 / 270.3 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004757/0.0101, allocations: 147.2 kB / 270.4 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.01011, allocations: 192 / 270.4 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.01012, allocations: 4.375 kB / 270.4 MB, free: 3.531 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.01013, allocations: 3.938 kB / 270.4 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.01028, allocations: 31.91 kB / 270.4 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.01074, allocations: 219.2 kB / 270.7 MB, free: 3.242 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.01097, allocations: 90.42 kB / 270.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.01114, allocations: 43.42 kB / 270.8 MB, free: 3.062 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.01117, allocations: 8 kB / 270.8 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.761e-05/0.01123, allocations: 42.5 kB / 270.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.01123, allocations: 0 / 270.8 MB, free: 3.004 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.00047/0.0117, allocations: 101.5 kB / 270.9 MB, free: 2.898 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/0.01185, allocations: 136.5 kB / 271.1 MB, free: 2.734 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.0121, allocations: 150.5 kB / 271.2 MB, free: 2.574 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.01214, allocations: 30.2 kB / 271.3 MB, free: 2.539 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.01224, allocations: 100.1 kB / 271.3 MB, free: 2.438 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.01226, allocations: 4 kB / 271.4 MB, free: 2.434 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/0.01232, allocations: 13.72 kB / 271.4 MB, free: 2.414 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.01255, allocations: 318.8 kB / 271.7 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.414e-05/0.01262, allocations: 7.984 kB / 271.7 MB, free: 2.086 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.087e-05/0.01267, allocations: 4 kB / 271.7 MB, free: 2.082 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.01281, allocations: 24.84 kB / 271.7 MB, free: 2.055 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01281, allocations: 0 / 271.7 MB, free: 2.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002022/0.01302, allocations: 53.64 kB / 271.8 MB, free: 1.996 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.01304, allocations: 7.984 kB / 271.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.01305, allocations: 7.938 kB / 271.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.01306, allocations: 3.938 kB / 271.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.592e-05/0.01315, allocations: 0 / 271.8 MB, free: 1.977 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.01316, allocations: 4 kB / 271.8 MB, free: 1.973 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.189e-05/0.01321, allocations: 0 / 271.8 MB, free: 1.973 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.01322, allocations: 0 / 271.8 MB, free: 1.973 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0001489/0.01337, allocations: 121.8 kB / 271.9 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.01355, allocations: 73.55 kB / 272 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.817e-05/0.01361, allocations: 19.92 kB / 272 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.01362, allocations: 0 / 272 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.01362, allocations: 4 kB / 272 MB, free: 1.738 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.01363, allocations: 3.984 kB / 272 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.01392, allocations: 121.2 kB / 272.1 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.01392, allocations: 0 / 272.1 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.01405, allocations: 19.98 kB / 272.1 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.01405, allocations: 0 / 272.1 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/0.01408, allocations: 12.03 kB / 272.2 MB, free: 1.555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01408, allocations: 4 kB / 272.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.01408, allocations: 3.938 kB / 272.2 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.01447, allocations: 190.1 kB / 272.3 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.839e-05/0.01455, allocations: 23.88 kB / 272.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.01457, allocations: 3.938 kB / 272.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.01472, allocations: 4 kB / 272.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.01477, allocations: 7.984 kB / 272.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.01478, allocations: 0 / 272.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002151/0.01499, allocations: 117.1 kB / 272.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.01499, allocations: 4 kB / 272.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004392/0.01543, allocations: 8 kB / 272.5 MB, free: 1.172 MB / 250.7 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.0001714/0.0156, allocations: 99.19 kB / 272.6 MB, free: 1.066 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002086/0.01581, allocations: 27.98 kB / 272.6 MB, free: 1.039 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01581, allocations: 0 / 272.6 MB, free: 1.039 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.926e-05/0.01588, allocations: 11.92 kB / 272.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/0.01657, allocations: 40.75 kB / 272.7 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006328/0.0172, allocations: 217.1 kB / 272.9 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.01736, allocations: 86.17 kB / 273 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.461e-05/0.0174, allocations: 0 / 273 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.01747, allocations: 16.48 kB / 273 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01747, allocations: 3.938 kB / 273 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of Templates: time 0.005332/0.0228, allocations: 0.8935 MB / 273.9 MB, free: 15.75 MB / 266.7 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.254378046956845]