Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008019/0.0008019, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001055/0.001857, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006983/0.0006983, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009427/0.001641, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.983/0.983, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1031/1.086, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.778e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002534/0.002551, allocations: 1.721 MB / 246.7 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00482/0.007371, allocations: 0.5801 MB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.005e-05/0.007451, allocations: 7.938 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.645e-05/0.007488, allocations: 7.922 kB / 247.3 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.291e-05/0.007561, allocations: 11.81 kB / 247.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.007788, allocations: 67.73 kB / 247.4 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.947e-05/0.007888, allocations: 67.72 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.909e-05/0.007967, allocations: 12.17 kB / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.0081, allocations: 63.81 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.008153, allocations: 15.92 kB / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.008168, allocations: 4 kB / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.134e-05/0.008229, allocations: 8 kB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.008263, allocations: 19.92 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.008282, allocations: 11.94 kB / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.008397, allocations: 47.78 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.008409, allocations: 0 / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.00841, allocations: 4 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.008421, allocations: 0 / 247.7 MB, free: 10.98 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.0003489/0.00877, allocations: 304.1 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.008799, allocations: 8.031 kB / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.008926, allocations: 98.03 kB / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.009078, allocations: 165.3 kB / 248.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.009087, allocations: 8.375 kB / 248.2 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-06/0.009094, allocations: 4.375 kB / 248.2 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/0.009411, allocations: 136 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.009421, allocations: 8.125 kB / 248.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.009428, allocations: 384 / 248.4 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.009436, allocations: 3.938 kB / 248.4 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.743e-05/0.009464, allocations: 11.94 kB / 248.4 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.009656, allocations: 162.9 kB / 248.6 MB, free: 9.969 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.537e-05/0.009732, allocations: 86.41 kB / 248.6 MB, free: 9.848 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.009768, allocations: 35.48 kB / 248.7 MB, free: 9.801 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.009789, allocations: 7.922 kB / 248.7 MB, free: 9.793 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.009812, allocations: 34.56 kB / 248.7 MB, free: 9.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.009813, allocations: 0 / 248.7 MB, free: 9.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001424/0.009955, allocations: 69.94 kB / 248.8 MB, free: 9.676 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.01002, allocations: 140.6 kB / 248.9 MB, free: 9.508 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.53e-05/0.01011, allocations: 144.3 kB / 249.1 MB, free: 9.355 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.01013, allocations: 25.7 kB / 249.1 MB, free: 9.324 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/0.01018, allocations: 92.11 kB / 249.2 MB, free: 9.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.0102, allocations: 3.953 kB / 249.2 MB, free: 9.227 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.01023, allocations: 13.72 kB / 249.2 MB, free: 9.207 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.01031, allocations: 322.8 kB / 249.5 MB, free: 8.883 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.01032, allocations: 3.938 kB / 249.5 MB, free: 8.879 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.01033, allocations: 3.938 kB / 249.5 MB, free: 8.875 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.01035, allocations: 12.92 kB / 249.5 MB, free: 8.859 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01036, allocations: 0 / 249.5 MB, free: 8.859 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.181e-05/0.01041, allocations: 33.69 kB / 249.6 MB, free: 8.82 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.01042, allocations: 8 kB / 249.6 MB, free: 8.812 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01043, allocations: 3.938 kB / 249.6 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.01043, allocations: 0 / 249.6 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.0105, allocations: 8 kB / 249.6 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.0105, allocations: 0 / 249.6 MB, free: 8.801 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.01052, allocations: 4 kB / 249.6 MB, free: 8.797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.01053, allocations: 3.984 kB / 249.6 MB, free: 8.793 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 6.431e-05/0.01059, allocations: 120.6 kB / 249.7 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-05/0.01066, allocations: 49.62 kB / 249.8 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.01069, allocations: 19.89 kB / 249.8 MB, free: 8.59 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01069, allocations: 0 / 249.8 MB, free: 8.59 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.01069, allocations: 0 / 249.8 MB, free: 8.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.0107, allocations: 4 kB / 249.8 MB, free: 8.586 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.783e-05/0.0108, allocations: 85.77 kB / 249.9 MB, free: 8.484 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.0108, allocations: 4 kB / 249.9 MB, free: 8.48 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.844e-05/0.01085, allocations: 11.98 kB / 249.9 MB, free: 8.469 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.716e-05/0.01087, allocations: 16.05 kB / 249.9 MB, free: 8.453 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.01088, allocations: 0 / 249.9 MB, free: 8.453 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-06/0.01088, allocations: 4 kB / 249.9 MB, free: 8.449 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.01088, allocations: 3.938 kB / 249.9 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.01089, allocations: 4 kB / 249.9 MB, free: 8.441 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.708e-05/0.01098, allocations: 150.1 kB / 250.1 MB, free: 8.27 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.011, allocations: 7.984 kB / 250.1 MB, free: 8.262 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-05/0.01104, allocations: 0 / 250.1 MB, free: 8.262 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.75e-05/0.01106, allocations: 7.938 kB / 250.1 MB, free: 8.254 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.01107, allocations: 0 / 250.1 MB, free: 8.254 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.861e-05/0.0111, allocations: 38.28 kB / 250.1 MB, free: 8.215 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0111, allocations: 0 / 250.1 MB, free: 8.215 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001151/0.01121, allocations: 8 kB / 250.1 MB, free: 8.207 MB / 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 7.988e-05/0.01129, allocations: 80.41 kB / 250.2 MB, free: 8.117 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.302e-05/0.01135, allocations: 16.8 kB / 250.2 MB, free: 8.098 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.01136, allocations: 0 / 250.2 MB, free: 8.098 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/0.01137, allocations: 20.78 kB / 250.2 MB, free: 8.074 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.01159, allocations: 44.94 kB / 250.3 MB, free: 8.031 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006708/0.01226, allocations: 221.1 kB / 250.5 MB, free: 7.777 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.67e-05/0.0123, allocations: 63.34 kB / 250.5 MB, free: 7.695 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.651e-05/0.01232, allocations: 4 kB / 250.6 MB, free: 7.691 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.352e-05/0.01239, allocations: 67.3 kB / 250.6 MB, free: 7.625 MB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01239, allocations: 0 / 250.6 MB, free: 7.625 MB / 250.7 MB Notification: Performance of Templates: time 0.002883/0.01527, allocations: 0.9958 MB / 251.6 MB, free: 6.66 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5818599415943027]