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.002681/0.002681, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.002828/0.002828, allocations: 149.1 kB / 24.26 MB, free: 168 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.55/1.55, allocations: 173.3 MB / 200.8 MB, free: 9.332 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.044e-06/2.044e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.753e-05/3.957e-05, allocations: 9.766 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.004374/0.004413, allocations: 1.62 MB / 269 MB, free: 5.105 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.005828, allocations: 0.5022 MB / 269.5 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.005933, allocations: 3.938 kB / 269.5 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.624e-05/0.00601, allocations: 3.938 kB / 269.5 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.006199, allocations: 19.86 kB / 269.5 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.006561, allocations: 59.69 kB / 269.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001635/0.006724, allocations: 59.78 kB / 269.6 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.006843, allocations: 8 kB / 269.6 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.006981, allocations: 39.83 kB / 269.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.866e-05/0.007059, allocations: 19.92 kB / 269.7 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.00709, allocations: 4 kB / 269.7 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.984e-05/0.00711, allocations: 4 kB / 269.7 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.544e-05/0.007175, allocations: 15.92 kB / 269.7 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.614e-05/0.007231, allocations: 19.92 kB / 269.7 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.00743, allocations: 75.66 kB / 269.8 MB, free: 4.27 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.007434, allocations: 0 / 269.8 MB, free: 4.27 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007435, allocations: 0 / 269.8 MB, free: 4.27 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.007442, allocations: 0 / 269.8 MB, free: 4.27 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.0007675/0.00821, allocations: 419.9 kB / 270.2 MB, free: 3.824 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.008256, allocations: 8.031 kB / 270.2 MB, free: 3.816 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.008331, allocations: 20.81 kB / 270.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.008676, allocations: 164.3 kB / 270.4 MB, free: 3.609 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.008692, allocations: 4.375 kB / 270.4 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.008714, allocations: 8.375 kB / 270.4 MB, free: 3.598 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.00918, allocations: 148.2 kB / 270.5 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.009191, allocations: 192 / 270.5 MB, free: 3.422 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.00921, allocations: 8.359 kB / 270.5 MB, free: 3.414 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.009219, allocations: 3.938 kB / 270.6 MB, free: 3.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.009333, allocations: 19.94 kB / 270.6 MB, free: 3.391 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.009842, allocations: 310.9 kB / 270.9 MB, free: 3.039 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.0101, allocations: 120.4 kB / 271 MB, free: 2.871 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.01022, allocations: 58.69 kB / 271.1 MB, free: 2.797 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.01026, allocations: 3.984 kB / 271.1 MB, free: 2.793 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.01031, allocations: 41.33 kB / 271.1 MB, free: 2.742 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.01031, allocations: 0 / 271.1 MB, free: 2.742 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004199/0.01073, allocations: 105.8 kB / 271.2 MB, free: 2.633 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/0.01088, allocations: 132.5 kB / 271.3 MB, free: 2.473 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.01115, allocations: 217.8 kB / 271.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.01118, allocations: 25.7 kB / 271.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.0113, allocations: 142.8 kB / 271.7 MB, free: 2.066 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.01132, allocations: 4 kB / 271.7 MB, free: 2.062 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.01137, allocations: 23.36 kB / 271.7 MB, free: 2.031 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003374/0.01171, allocations: 0.4884 MB / 272.2 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.906e-05/0.01175, allocations: 0 / 272.2 MB, free: 1.531 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.01179, allocations: 12.2 kB / 272.2 MB, free: 1.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.478e-05/0.01188, allocations: 19.69 kB / 272.3 MB, free: 1.496 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01188, allocations: 0 / 272.3 MB, free: 1.496 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001468/0.01203, allocations: 53.58 kB / 272.3 MB, free: 1.438 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.01205, allocations: 8 kB / 272.3 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.01206, allocations: 0 / 272.3 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.01207, allocations: 7.875 kB / 272.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.17e-05/0.01214, allocations: 0 / 272.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.01215, allocations: 0 / 272.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.097e-05/0.01219, allocations: 12.08 kB / 272.3 MB, free: 1.41 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.0122, allocations: 0 / 272.3 MB, free: 1.41 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.0001527/0.01235, allocations: 156.6 kB / 272.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.01251, allocations: 69.52 kB / 272.6 MB, free: 1.172 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.01256, allocations: 15.92 kB / 272.6 MB, free: 1.152 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.01256, allocations: 4 kB / 272.6 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.01257, allocations: 0 / 272.6 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.01257, allocations: 0 / 272.6 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.01284, allocations: 144.6 kB / 272.7 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01284, allocations: 4.094 kB / 272.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.003e-05/0.01293, allocations: 15.98 kB / 272.7 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01294, allocations: 0 / 272.7 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.01295, allocations: 11.94 kB / 272.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01296, allocations: 0 / 272.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.01296, allocations: 3.938 kB / 272.7 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003462/0.01331, allocations: 258.9 kB / 273 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.01337, allocations: 19.88 kB / 273 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.01339, allocations: 7.938 kB / 273 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.655e-05/0.01349, allocations: 4 kB / 273 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.01353, allocations: 4 kB / 273 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.01354, allocations: 0 / 273 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001579/0.01369, allocations: 161 kB / 273.2 MB, free: 472 kB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01369, allocations: 0 / 273.2 MB, free: 472 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003457/0.01404, allocations: 8 kB / 273.2 MB, free: 464 kB / 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.0001459/0.01419, allocations: 99.19 kB / 273.3 MB, free: 356 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.01436, allocations: 31.67 kB / 273.3 MB, free: 320 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01436, allocations: 64 / 273.3 MB, free: 320 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.866e-05/0.01442, allocations: 23.62 kB / 273.4 MB, free: 292 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005719/0.01499, allocations: 44.17 kB / 273.4 MB, free: 248 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005891/0.01558, allocations: 219.5 kB / 273.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.01571, allocations: 82.16 kB / 273.7 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.758e-05/0.01575, allocations: 4.344 kB / 273.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.0158, allocations: 16.5 kB / 273.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.0158, allocations: 3.938 kB / 273.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Templates: time 0.005052/0.02085, allocations: 0.8972 MB / 274.6 MB, free: 14.99 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 240] 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.365580375073478]