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.001546/0.001546, 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.001761/0.001761, allocations: 210.7 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.654/1.654, 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.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.001716/0.001716, allocations: 51.86 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4034, allocations: 53.35 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003718/0.4071, allocations: 1.636 MB / 434 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.4084, allocations: 0.5415 MB / 434.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.4086, allocations: 11.88 kB / 434.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.747e-05/0.4086, allocations: 7.875 kB / 434.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.4088, allocations: 15.86 kB / 434.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.4093, allocations: 63.81 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.4094, allocations: 63.72 kB / 434.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.4096, allocations: 12.22 kB / 434.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.4098, allocations: 35.86 kB / 434.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.138e-05/0.4098, allocations: 27.84 kB / 434.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.4099, allocations: 7.938 kB / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.307e-05/0.4099, allocations: 8 kB / 434.8 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.41, allocations: 19.92 kB / 434.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.41, allocations: 27.8 kB / 434.8 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.4103, allocations: 66.34 kB / 434.9 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4103, allocations: 4 kB / 434.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.4103, allocations: 0 / 434.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.4103, allocations: 0 / 434.9 MB, free: 4.184 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.0006334/0.4109, allocations: 317.8 kB / 435.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.411, allocations: 12.03 kB / 435.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.4112, allocations: 24.83 kB / 435.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.4115, allocations: 150.3 kB / 435.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.4115, allocations: 8.375 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.4115, allocations: 4.375 kB / 435.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.4119, allocations: 143 kB / 435.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4119, allocations: 0 / 435.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.412, allocations: 0 / 435.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.412, allocations: 3.984 kB / 435.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.622e-05/0.4121, allocations: 27.92 kB / 435.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.4124, allocations: 231.1 kB / 435.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.4126, allocations: 98.42 kB / 435.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.106e-05/0.4127, allocations: 47.42 kB / 435.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.4127, allocations: 0 / 435.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.4128, allocations: 38.5 kB / 436 MB, free: 2.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.4128, allocations: 3.938 kB / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003533/0.4131, allocations: 97.55 kB / 436.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.4132, allocations: 141 kB / 436.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.4134, allocations: 151.9 kB / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.4134, allocations: 33.64 kB / 436.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/0.4135, allocations: 92.14 kB / 436.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.4135, allocations: 7.938 kB / 436.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.4135, allocations: 17.72 kB / 436.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4137, allocations: 322.8 kB / 436.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.4137, allocations: 12 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.377e-05/0.4138, allocations: 49.14 kB / 436.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.4139, allocations: 73.02 kB / 436.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4139, allocations: 3.938 kB / 436.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001732/0.4141, allocations: 85.5 kB / 437 MB, free: 1.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4141, allocations: 4 kB / 437 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.4141, allocations: 8.188 kB / 437 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4141, allocations: 0 / 437 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/0.4142, allocations: 15.98 kB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.4143, allocations: 0 / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.008e-05/0.4143, allocations: 4 kB / 437.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.4143, allocations: 4 kB / 437.1 MB, free: 1.711 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.0001153/0.4144, allocations: 129.6 kB / 437.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.4145, allocations: 73.53 kB / 437.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.59e-05/0.4146, allocations: 15.92 kB / 437.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4146, allocations: 4.094 kB / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4146, allocations: 0 / 437.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4146, allocations: 4 kB / 437.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.4148, allocations: 125.2 kB / 437.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4148, allocations: 0 / 437.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.54e-05/0.4149, allocations: 15.98 kB / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4149, allocations: 0 / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4149, allocations: 0 / 437.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4149, allocations: 4 kB / 437.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4149, allocations: 0 / 437.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.4151, allocations: 206 kB / 437.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.4152, allocations: 19.94 kB / 437.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.4152, allocations: 7.938 kB / 437.6 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.4153, allocations: 4 kB / 437.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.4153, allocations: 7.984 kB / 437.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.4153, allocations: 192 / 437.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001133/0.4154, allocations: 118.9 kB / 437.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4154, allocations: 0 / 437.8 MB, free: 0.918 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.4157, allocations: 12 kB / 437.8 MB, free: 0.9062 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.0001336/0.4158, allocations: 95.25 kB / 437.9 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001941/0.416, allocations: 47.84 kB / 437.9 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.416, allocations: 4 kB / 437.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.815e-05/0.4161, allocations: 7.938 kB / 437.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.4166, allocations: 50.59 kB / 438 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005262/0.4171, allocations: 218.5 kB / 438.2 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.4172, allocations: 88.06 kB / 438.3 MB, free: 356 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.107e-05/0.4172, allocations: 4.672 kB / 438.3 MB, free: 352 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.4173, allocations: 11.44 kB / 438.3 MB, free: 340 kB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4173, allocations: 0 / 438.3 MB, free: 340 kB / 334.1 MB Notification: Performance of Templates: time 0.004743/0.422, allocations: 0.9973 MB / 439.3 MB, free: 15.36 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 cvode -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: 5.13858797600551]