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.001609/0.001609, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001802/0.001802, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.627/1.627, allocations: 230.6 MB / 257.5 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.001715/0.001715, allocations: 47.94 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3894, allocations: 53.36 MB / 431.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.004782/0.3941, allocations: 1.648 MB / 433.3 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.3954, allocations: 0.5997 MB / 433.9 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3956, allocations: 3.938 kB / 433.9 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.394e-05/0.3956, allocations: 3.938 kB / 433.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001846/0.3958, allocations: 23.84 kB / 433.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003687/0.3962, allocations: 66.12 kB / 434 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.3963, allocations: 63.72 kB / 434 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3964, allocations: 12.23 kB / 434 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3966, allocations: 31.91 kB / 434.1 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.3966, allocations: 27.86 kB / 434.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3967, allocations: 4 kB / 434.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.747e-05/0.3967, allocations: 7.984 kB / 434.1 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.983e-05/0.3968, allocations: 15.92 kB / 434.1 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.3968, allocations: 43.67 kB / 434.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.397, allocations: 68.88 kB / 434.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.397, allocations: 0 / 434.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.397, allocations: 0 / 434.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.397, allocations: 0 / 434.2 MB, free: 4.297 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.0006073/0.3976, allocations: 321.9 kB / 434.6 MB, free: 3.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3977, allocations: 8.031 kB / 434.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.3979, allocations: 24.83 kB / 434.6 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.3982, allocations: 155.9 kB / 434.7 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3982, allocations: 8.312 kB / 434.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.3982, allocations: 4.375 kB / 434.8 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.3985, allocations: 139 kB / 434.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3985, allocations: 0 / 434.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.3985, allocations: 4 kB / 434.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.3985, allocations: 0 / 434.9 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.315e-05/0.3986, allocations: 27.92 kB / 434.9 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.399, allocations: 266.4 kB / 435.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.3992, allocations: 94.42 kB / 435.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.278e-05/0.3993, allocations: 39.48 kB / 435.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.3993, allocations: 4 kB / 435.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.3993, allocations: 46.48 kB / 435.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3993, allocations: 0 / 435.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003016/0.3996, allocations: 93.56 kB / 435.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.529e-05/0.3997, allocations: 144.9 kB / 435.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.3999, allocations: 153.9 kB / 435.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.3999, allocations: 29.7 kB / 435.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.995e-05/0.3999, allocations: 92.12 kB / 435.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.4, allocations: 7.953 kB / 435.9 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.4, allocations: 17.72 kB / 435.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.4002, allocations: 326.8 kB / 436.2 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.451e-05/0.4002, allocations: 7.984 kB / 436.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.4003, allocations: 49.16 kB / 436.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.4004, allocations: 73 kB / 436.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4004, allocations: 0 / 436.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001592/0.4005, allocations: 85.62 kB / 436.4 MB, free: 1.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4006, allocations: 4 kB / 436.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4006, allocations: 8 kB / 436.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4006, allocations: 3.938 kB / 436.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.4007, allocations: 12.19 kB / 436.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4007, allocations: 4 kB / 436.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.022e-05/0.4007, allocations: 7.984 kB / 436.5 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.4007, allocations: 8 kB / 436.5 MB, free: 1.777 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 9.839e-05/0.4008, allocations: 125.7 kB / 436.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.4009, allocations: 73.53 kB / 436.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.401, allocations: 19.91 kB / 436.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.401, allocations: 3.984 kB / 436.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.401, allocations: 4.094 kB / 436.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.401, allocations: 4 kB / 436.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001869/0.4012, allocations: 148.7 kB / 436.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4012, allocations: 0 / 436.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.89e-05/0.4013, allocations: 12 kB / 436.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4013, allocations: 0 / 436.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.4013, allocations: 11.98 kB / 436.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4013, allocations: 0 / 436.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4013, allocations: 0 / 436.9 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.4015, allocations: 201.9 kB / 437.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.4016, allocations: 19.94 kB / 437.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.4016, allocations: 0 / 437.1 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-05/0.4017, allocations: 8 kB / 437.1 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.4017, allocations: 0 / 437.1 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.4017, allocations: 8 kB / 437.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.515e-05/0.4018, allocations: 111.2 kB / 437.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4018, allocations: 0 / 437.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.402, allocations: 12 kB / 437.2 MB, free: 0.9414 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.0001063/0.4021, allocations: 99.23 kB / 437.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.4023, allocations: 48.11 kB / 437.4 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4023, allocations: 4.062 kB / 437.4 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.4024, allocations: 7.984 kB / 437.4 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.4027, allocations: 48.02 kB / 437.4 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004044/0.4032, allocations: 213.8 kB / 437.6 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.4035, allocations: 0.7012 MB / 438.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.645e-05/0.4035, allocations: 8.656 kB / 438.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.4036, allocations: 11.44 kB / 438.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4036, allocations: 3.938 kB / 438.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of Templates: time 0.003852/0.4074, allocations: 0.8822 MB / 439.2 MB, free: 14.87 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/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_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.1306203689891845]