Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006564/0.006564, allocations: 109.8 kB / 21.98 MB, free: 5.184 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.001639/0.001639, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.515/1.515, allocations: 230.6 MB / 259 MB, free: 8.035 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 71.89 kB / 379.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3749, allocations: 53.36 MB / 433.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.003737/0.3786, allocations: 1.657 MB / 434.8 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.38, allocations: 0.5881 MB / 435.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.3801, allocations: 7.938 kB / 435.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.778e-05/0.3801, allocations: 7.875 kB / 435.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.3803, allocations: 19.84 kB / 435.5 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.3807, allocations: 63.77 kB / 435.5 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.3808, allocations: 59.78 kB / 435.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.381, allocations: 16.2 kB / 435.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.3811, allocations: 35.86 kB / 435.6 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.331e-05/0.3812, allocations: 23.8 kB / 435.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.3812, allocations: 4 kB / 435.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.229e-05/0.3813, allocations: 12 kB / 435.7 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.3813, allocations: 19.91 kB / 435.7 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.545e-05/0.3814, allocations: 27.81 kB / 435.7 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.3816, allocations: 80.86 kB / 435.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.3816, allocations: 0 / 435.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3816, allocations: 3.938 kB / 435.8 MB, free: 4.363 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.3816, allocations: 0 / 435.8 MB, free: 4.363 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.0006376/0.3822, allocations: 317.9 kB / 436.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.466e-05/0.3823, allocations: 8.031 kB / 436.1 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.3825, allocations: 20.84 kB / 436.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.3829, allocations: 162.2 kB / 436.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.3829, allocations: 4.375 kB / 436.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.383, allocations: 384 / 436.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.3834, allocations: 147 kB / 436.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3834, allocations: 0 / 436.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3834, allocations: 4 kB / 436.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3834, allocations: 0 / 436.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.3835, allocations: 27.92 kB / 436.5 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.384, allocations: 266.5 kB / 436.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.3842, allocations: 90.42 kB / 436.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.594e-05/0.3843, allocations: 47.48 kB / 436.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.695e-05/0.3843, allocations: 3.938 kB / 436.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.3843, allocations: 34.56 kB / 436.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3843, allocations: 0 / 436.9 MB, free: 3.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003778/0.3847, allocations: 105.8 kB / 437 MB, free: 2.957 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.3848, allocations: 132.5 kB / 437.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.385, allocations: 154.7 kB / 437.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.385, allocations: 25.7 kB / 437.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.3851, allocations: 92.14 kB / 437.4 MB, free: 2.516 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.3851, allocations: 7.938 kB / 437.4 MB, free: 2.508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.3852, allocations: 25.94 kB / 437.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3853, allocations: 322.8 kB / 437.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.3854, allocations: 12 kB / 437.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.3854, allocations: 53.02 kB / 437.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.3856, allocations: 65.2 kB / 437.9 MB, free: 1.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.3856, allocations: 4 kB / 437.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001716/0.3857, allocations: 89.5 kB / 438 MB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.3858, allocations: 8 kB / 438 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3858, allocations: 0 / 438 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.3858, allocations: 4 kB / 438 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.476e-05/0.3859, allocations: 11.98 kB / 438 MB, free: 1.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.3859, allocations: 11.88 kB / 438 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.3859, allocations: 4 kB / 438 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.3859, allocations: 0 / 438 MB, free: 1.852 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.0001373/0.3861, allocations: 133.9 kB / 438.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.3862, allocations: 69.53 kB / 438.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.3862, allocations: 15.92 kB / 438.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3862, allocations: 4 kB / 438.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.3863, allocations: 0 / 438.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3863, allocations: 0 / 438.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/0.3865, allocations: 156.7 kB / 438.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3865, allocations: 0 / 438.4 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.353e-05/0.3866, allocations: 12.08 kB / 438.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3866, allocations: 8 kB / 438.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.3866, allocations: 0 / 438.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.3866, allocations: 7.938 kB / 438.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3866, allocations: 0 / 438.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.3869, allocations: 202 kB / 438.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.3869, allocations: 15.94 kB / 438.6 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.3869, allocations: 4 kB / 438.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.387, allocations: 7.984 kB / 438.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.387, allocations: 0 / 438.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.387, allocations: 4 kB / 438.6 MB, free: 1.137 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.3871, allocations: 115.2 kB / 438.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3871, allocations: 0 / 438.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000238/0.3874, allocations: 11.94 kB / 438.8 MB, free: 1.012 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.0001305/0.3875, allocations: 95.25 kB / 438.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.3877, allocations: 47.91 kB / 438.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3877, allocations: 0 / 438.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.3877, allocations: 11.94 kB / 438.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.3882, allocations: 52.44 kB / 439 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.3887, allocations: 243.7 kB / 439.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.3891, allocations: 0.7009 MB / 439.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.887e-05/0.3891, allocations: 15.44 kB / 439.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3891, allocations: 3.938 kB / 439.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of Templates: time 0.003231/0.3923, allocations: 1.032 MB / 440.9 MB, free: 14.75 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 7.481407389044762]