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.001311/0.001311, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 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.001464/0.001464, allocations: 161.4 kB / 24.49 MB, free: 3.461 MB / 14.72 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.411/1.411, allocations: 173.4 MB / 201 MB, free: 12.69 MB / 190.1 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 0.001687/0.001687, allocations: 50.31 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09125/0.09293, allocations: 52.16 MB / 371.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.00289/0.09582, allocations: 1.615 MB / 373.2 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009414/0.09676, allocations: 486.8 kB / 373.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.827e-05/0.09685, allocations: 7.938 kB / 373.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.341e-05/0.09691, allocations: 11.86 kB / 373.7 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.09703, allocations: 11.88 kB / 373.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.0973, allocations: 55.81 kB / 373.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.09743, allocations: 55.78 kB / 373.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.09753, allocations: 19.92 kB / 373.8 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.587e-05/0.09762, allocations: 31.8 kB / 373.9 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.713e-05/0.09768, allocations: 27.84 kB / 373.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.09771, allocations: 8 kB / 373.9 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.09772, allocations: 4 kB / 373.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.09778, allocations: 15.92 kB / 373.9 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.09782, allocations: 23.81 kB / 373.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.09795, allocations: 63.61 kB / 374 MB, free: 4.922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.09796, allocations: 8 kB / 374 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.09796, allocations: 0 / 374 MB, free: 4.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.09797, allocations: 3.984 kB / 374 MB, free: 4.91 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.0005004/0.09847, allocations: 313.8 kB / 374.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.09851, allocations: 12.03 kB / 374.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.09854, allocations: 12.89 kB / 374.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.09879, allocations: 150.3 kB / 374.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.09881, allocations: 8.375 kB / 374.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.09881, allocations: 384 / 374.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.09912, allocations: 147 kB / 374.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.09913, allocations: 0 / 374.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.09914, allocations: 8 kB / 374.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.09914, allocations: 0 / 374.6 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.733e-05/0.09924, allocations: 31.91 kB / 374.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.09956, allocations: 219.2 kB / 374.9 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.09972, allocations: 98.34 kB / 375 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.999e-05/0.09981, allocations: 51.42 kB / 375 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.09984, allocations: 8 kB / 375 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.09987, allocations: 34.56 kB / 375.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.09987, allocations: 0 / 375.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003237/0.1002, allocations: 105.4 kB / 375.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.976e-05/0.1003, allocations: 140.5 kB / 375.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1005, allocations: 149.4 kB / 375.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1005, allocations: 26.2 kB / 375.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.1005, allocations: 96.12 kB / 375.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.1006, allocations: 7.953 kB / 375.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.1006, allocations: 25.66 kB / 375.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1008, allocations: 318.8 kB / 375.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.527e-05/0.1008, allocations: 8 kB / 375.9 MB, free: 2.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-05/0.1009, allocations: 53.14 kB / 376 MB, free: 2.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.101, allocations: 65.08 kB / 376 MB, free: 2.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.101, allocations: 3.938 kB / 376.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001618/0.1012, allocations: 85.5 kB / 376.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1012, allocations: 8 kB / 376.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1012, allocations: 0 / 376.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1012, allocations: 0 / 376.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.1013, allocations: 24.11 kB / 376.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1013, allocations: 0 / 376.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.646e-05/0.1013, allocations: 4 kB / 376.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.1013, allocations: 11.98 kB / 376.2 MB, free: 2.441 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.0001035/0.1015, allocations: 125.7 kB / 376.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.1016, allocations: 69.53 kB / 376.4 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.1016, allocations: 11.97 kB / 376.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1016, allocations: 0 / 376.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1016, allocations: 4 kB / 376.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1016, allocations: 8.078 kB / 376.4 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.1018, allocations: 121.2 kB / 376.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1018, allocations: 0 / 376.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.633e-05/0.1019, allocations: 19.92 kB / 376.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1019, allocations: 0 / 376.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1019, allocations: 4 kB / 376.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1019, allocations: 0 / 376.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1019, allocations: 0 / 376.5 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1021, allocations: 198 kB / 376.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.1021, allocations: 19.94 kB / 376.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1022, allocations: 4 kB / 376.8 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.1022, allocations: 4.172 kB / 376.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.1023, allocations: 11.88 kB / 376.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1023, allocations: 4 kB / 376.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.532e-05/0.1024, allocations: 121.9 kB / 376.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1024, allocations: 0 / 376.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1026, allocations: 7.953 kB / 376.9 MB, free: 1.648 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.0001009/0.1027, allocations: 99.19 kB / 377 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.1029, allocations: 51.91 kB / 377 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1029, allocations: 0 / 377 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.947e-05/0.1029, allocations: 8 kB / 377.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.1034, allocations: 47.77 kB / 377.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.1038, allocations: 213.7 kB / 377.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.904e-05/0.1039, allocations: 84.03 kB / 377.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.069e-05/0.1039, allocations: 4.734 kB / 377.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.104, allocations: 12.5 kB / 377.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.104, allocations: 0 / 377.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of Templates: time 0.003528/0.1075, allocations: 0.9398 MB / 378.4 MB, free: 168 kB / 334.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/BackSample/BackSample.csv","/var/lib/jenkins1/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.225054956972599]