Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001835/0.001835, allocations: 104.7 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001552/0.001552, allocations: 211.9 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.6/1.6, allocations: 230.2 MB / 256.2 MB, free: 8.559 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 63.88 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4241, allocations: 53.32 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003515/0.4277, allocations: 1.648 MB / 431.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.4289, allocations: 0.5921 MB / 432 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.429, allocations: 0 / 432 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.778e-05/0.4291, allocations: 7.875 kB / 432.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.4293, allocations: 19.84 kB / 432.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.4296, allocations: 59.81 kB / 432.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.4298, allocations: 59.73 kB / 432.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.4299, allocations: 16.22 kB / 432.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.43, allocations: 31.91 kB / 432.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.839e-05/0.4301, allocations: 27.8 kB / 432.3 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.4301, allocations: 8 kB / 432.3 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.357e-05/0.4302, allocations: 11.94 kB / 432.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.4302, allocations: 15.92 kB / 432.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.4303, allocations: 35.78 kB / 432.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.4305, allocations: 72.88 kB / 432.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4305, allocations: 0 / 432.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4305, allocations: 0 / 432.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.4305, allocations: 0 / 432.4 MB, free: 4.922 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.0005554/0.431, allocations: 391 kB / 432.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4311, allocations: 12.03 kB / 432.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.4312, allocations: 24.83 kB / 432.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.4316, allocations: 216.1 kB / 433 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.4316, allocations: 4.375 kB / 433 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.4316, allocations: 4.375 kB / 433 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.4319, allocations: 155 kB / 433.2 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.4319, allocations: 3.938 kB / 433.2 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.4319, allocations: 0 / 433.2 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4319, allocations: 0 / 433.2 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.432, allocations: 27.92 kB / 433.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.4326, allocations: 295.3 kB / 433.5 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.4327, allocations: 94.42 kB / 433.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.901e-05/0.4328, allocations: 39.48 kB / 433.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.4329, allocations: 0 / 433.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.4329, allocations: 46.5 kB / 433.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.103e-06/0.4329, allocations: 0 / 433.7 MB, free: 3.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003644/0.4333, allocations: 101.5 kB / 433.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.4334, allocations: 136.5 kB / 433.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.4336, allocations: 146 kB / 434.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.4336, allocations: 37.7 kB / 434.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.045e-05/0.4337, allocations: 92.12 kB / 434.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.4337, allocations: 7.953 kB / 434.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.4338, allocations: 17.72 kB / 434.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.434, allocations: 322.8 kB / 434.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.17e-05/0.434, allocations: 8 kB / 434.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.375e-05/0.4341, allocations: 49.14 kB / 434.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.4342, allocations: 73.02 kB / 434.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4342, allocations: 0 / 434.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001645/0.4344, allocations: 85.5 kB / 434.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.4344, allocations: 4 kB / 434.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4344, allocations: 3.938 kB / 434.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.4344, allocations: 4 kB / 434.8 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.983e-05/0.4345, allocations: 11.98 kB / 434.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.4345, allocations: 8.188 kB / 434.8 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.088e-05/0.4346, allocations: 8 kB / 434.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.4346, allocations: 7.984 kB / 434.8 MB, free: 2.199 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.0001285/0.4347, allocations: 121.7 kB / 434.9 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.4348, allocations: 69.53 kB / 435 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.4349, allocations: 15.83 kB / 435 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.4349, allocations: 4 kB / 435 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.4349, allocations: 4.219 kB / 435 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4349, allocations: 7.984 kB / 435 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.4351, allocations: 181.5 kB / 435.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4351, allocations: 0 / 435.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.884e-05/0.4352, allocations: 11.98 kB / 435.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4352, allocations: 4 kB / 435.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.4352, allocations: 4 kB / 435.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4352, allocations: 4 kB / 435.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4352, allocations: 3.938 kB / 435.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.4355, allocations: 201.9 kB / 435.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.857e-05/0.4356, allocations: 93.05 kB / 435.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.4356, allocations: 4 kB / 435.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.4357, allocations: 4 kB / 435.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.4357, allocations: 4 kB / 435.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.4357, allocations: 4 kB / 435.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001226/0.4358, allocations: 115.2 kB / 435.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4358, allocations: 0 / 435.6 MB, free: 1.242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.4361, allocations: 15.95 kB / 435.6 MB, free: 1.227 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.0001588/0.4363, allocations: 103.2 kB / 435.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001992/0.4365, allocations: 40.23 kB / 435.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4365, allocations: 4.062 kB / 435.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.4365, allocations: 7.984 kB / 435.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004255/0.4369, allocations: 43.89 kB / 435.8 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.4374, allocations: 221.6 kB / 436.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.4378, allocations: 0.6966 MB / 436.7 MB, free: 52 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.445e-05/0.4378, allocations: 12.64 kB / 436.8 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.4378, allocations: 15.38 kB / 436.8 MB, free: 24 kB / 334.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4378, allocations: 0 / 436.8 MB, free: 24 kB / 334.1 MB Notification: Performance of Templates: time 0.004013/0.4418, allocations: 0.8743 MB / 437.7 MB, free: 15.17 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.153876714408398]