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.002014/0.002014, allocations: 73.72 kB / 21.24 MB, free: 0.5547 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.002385/0.002385, allocations: 160.8 kB / 24.5 MB, free: 3.715 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.509/1.509, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.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.001571/0.001571, allocations: 54.59 kB / 325.6 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09011/0.09168, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.00293/0.09461, allocations: 1.623 MB / 380.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.09568, allocations: 0.5531 MB / 381.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.294e-05/0.09576, allocations: 7.938 kB / 381.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.286e-05/0.09581, allocations: 3.938 kB / 381.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.09594, allocations: 15.86 kB / 381.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.09626, allocations: 63.75 kB / 381.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.09638, allocations: 59.78 kB / 381.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.09649, allocations: 28.16 kB / 381.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.09661, allocations: 27.86 kB / 381.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.902e-05/0.09668, allocations: 31.78 kB / 381.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.0967, allocations: 4 kB / 381.3 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.966e-05/0.09674, allocations: 4 kB / 381.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.814e-05/0.09679, allocations: 15.92 kB / 381.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.09683, allocations: 19.88 kB / 381.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.09698, allocations: 83.47 kB / 381.4 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.09699, allocations: 4 kB / 381.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09699, allocations: 0 / 381.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.097, allocations: 4 kB / 381.4 MB, free: 13.09 MB / 350.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.0005108/0.09751, allocations: 309.9 kB / 381.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.09754, allocations: 12.03 kB / 381.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.0977, allocations: 20.83 kB / 381.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.09797, allocations: 154.3 kB / 381.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.09798, allocations: 4.375 kB / 381.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.09799, allocations: 4.375 kB / 381.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.0983, allocations: 143 kB / 382.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.09832, allocations: 8 kB / 382.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.09834, allocations: 7.984 kB / 382.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.09834, allocations: 0 / 382.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.352e-05/0.09844, allocations: 27.92 kB / 382.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.09875, allocations: 235.1 kB / 382.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.0989, allocations: 102.3 kB / 382.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.528e-05/0.09899, allocations: 43.48 kB / 382.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.09901, allocations: 4 kB / 382.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.09904, allocations: 34.56 kB / 382.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.09904, allocations: 0 / 382.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002907/0.09933, allocations: 106 kB / 382.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.09944, allocations: 140.5 kB / 382.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.09959, allocations: 149.2 kB / 382.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.09961, allocations: 29.7 kB / 382.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.09966, allocations: 88.14 kB / 383 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.09968, allocations: 11.94 kB / 383 MB, free: 11.26 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.09972, allocations: 17.72 kB / 383.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.09987, allocations: 322.8 kB / 383.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.45e-05/0.09992, allocations: 11.94 kB / 383.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-05/0.09999, allocations: 57.08 kB / 383.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1001, allocations: 65.11 kB / 383.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1001, allocations: 3.938 kB / 383.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001729/0.1003, allocations: 85.53 kB / 383.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1003, allocations: 8 kB / 383.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1003, allocations: 0 / 383.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1003, allocations: 4 kB / 383.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.1004, allocations: 19.92 kB / 383.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1004, allocations: 4 kB / 383.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.857e-05/0.1005, allocations: 4 kB / 383.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1005, allocations: 0 / 383.6 MB, free: 10.61 MB / 350.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.0001095/0.1006, allocations: 125.8 kB / 383.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.1007, allocations: 73.69 kB / 383.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.1007, allocations: 11.97 kB / 383.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1007, allocations: 4 kB / 383.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1007, allocations: 0 / 383.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1007, allocations: 0 / 383.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.1009, allocations: 125.2 kB / 384 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1009, allocations: 4 kB / 384 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.075e-05/0.101, allocations: 15.92 kB / 384 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.101, allocations: 4 kB / 384 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.101, allocations: 4.094 kB / 384 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.101, allocations: 0 / 384 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.101, allocations: 4.125 kB / 384 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.1013, allocations: 201.9 kB / 384.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.1013, allocations: 23.88 kB / 384.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1013, allocations: 0 / 384.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.1014, allocations: 4 kB / 384.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.641e-05/0.1014, allocations: 3.984 kB / 384.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1014, allocations: 4 kB / 384.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.296e-05/0.1015, allocations: 115.2 kB / 384.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1015, allocations: 4 kB / 384.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1018, allocations: 8 kB / 384.4 MB, free: 9.816 MB / 350.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.0001016/0.1019, allocations: 99.25 kB / 384.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.1021, allocations: 47.91 kB / 384.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1021, allocations: 0 / 384.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.064e-05/0.1021, allocations: 16.25 kB / 384.5 MB, free: 9.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1025, allocations: 50.92 kB / 384.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.1029, allocations: 213.8 kB / 384.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.376e-05/0.103, allocations: 83.31 kB / 384.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.839e-05/0.103, allocations: 0.7344 kB / 384.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.103, allocations: 16.5 kB / 384.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.103, allocations: 4.281 kB / 384.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of Templates: time 0.00361/0.1066, allocations: 0.9563 MB / 385.8 MB, free: 8.309 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 -s ida -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/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_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.411210370017216]