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.001046/0.001046, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001099/0.001099, allocations: 168.8 kB / 25 MB, free: 8.336 MB / 18.57 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.043/1.043, allocations: 177.1 MB / 205.3 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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 1.804e-06/1.804e-06, allocations: 0 / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.565e-05, allocations: 6.312 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample): time 0.002238/0.002264, allocations: 1.669 MB / 274.7 MB, free: 156 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008229/0.003087, allocations: 0.5724 MB / 275.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.953e-05/0.003186, allocations: 7.938 kB / 275.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.278e-05/0.003239, allocations: 7.922 kB / 275.3 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.003393, allocations: 11.88 kB / 275.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.003672, allocations: 67.67 kB / 275.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.003785, allocations: 63.72 kB / 275.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.003886, allocations: 12.22 kB / 275.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.004022, allocations: 47.89 kB / 275.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.384e-05/0.004076, allocations: 19.91 kB / 275.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.004096, allocations: 8 kB / 275.5 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.094e-05/0.004136, allocations: 8 kB / 275.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.515e-05/0.004182, allocations: 15.94 kB / 275.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.004217, allocations: 15.92 kB / 275.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.004368, allocations: 59.69 kB / 275.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.004371, allocations: 0 / 275.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.004371, allocations: 0 / 275.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.004376, allocations: 0 / 275.6 MB, free: 15.23 MB / 266.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.000443/0.004819, allocations: 420.2 kB / 276.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.004861, allocations: 8.031 kB / 276.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.004994, allocations: 24.84 kB / 276.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.005212, allocations: 162.8 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.005222, allocations: 4.375 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.005233, allocations: 4.375 kB / 276.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.005504, allocations: 157 kB / 276.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.005513, allocations: 4.188 kB / 276.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.005522, allocations: 384 / 276.4 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.005529, allocations: 7.875 kB / 276.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.782e-05/0.005557, allocations: 11.94 kB / 276.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.005864, allocations: 306.7 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.00597, allocations: 120.4 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.006019, allocations: 42.8 kB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.006041, allocations: 4 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.006071, allocations: 49.27 kB / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.006072, allocations: 0 / 276.9 MB, free: 13.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002018/0.006274, allocations: 81.5 kB / 277 MB, free: 13.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/0.006346, allocations: 132.5 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.006472, allocations: 205.9 kB / 277.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.006483, allocations: 25.7 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.006542, allocations: 139.4 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.704e-05/0.006559, allocations: 7.938 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.006585, allocations: 23.38 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.006718, allocations: 496.1 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.152e-05/0.006729, allocations: 0 / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.565e-06/0.006737, allocations: 4 kB / 278 MB, free: 12.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.769e-05/0.006765, allocations: 15.61 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.006767, allocations: 4 kB / 278 MB, free: 12.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.767e-05/0.006815, allocations: 37.59 kB / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.00683, allocations: 8 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.006835, allocations: 4.094 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.00685, allocations: 4 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.165e-05/0.006911, allocations: 0 / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.00692, allocations: 7.984 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.006935, allocations: 0 / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.006941, allocations: 0 / 278.1 MB, free: 12.45 MB / 266.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 7.734e-05/0.007018, allocations: 160.6 kB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.007079, allocations: 69.45 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.007117, allocations: 11.97 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.007119, allocations: 4.094 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.007124, allocations: 0 / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.00713, allocations: 7.984 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.007241, allocations: 128.6 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.007243, allocations: 3.938 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.007283, allocations: 15.98 kB / 278.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.007287, allocations: 4 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.007298, allocations: 3.938 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.0073, allocations: 4 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007302, allocations: 0 / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.007439, allocations: 246.8 kB / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.007469, allocations: 15.94 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.007483, allocations: 7.938 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.343e-05/0.007517, allocations: 3.984 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.007546, allocations: 4 kB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.00755, allocations: 0 / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.445e-05/0.007614, allocations: 159 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007614, allocations: 0 / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000138/0.007752, allocations: 4 kB / 278.9 MB, free: 11.54 MB / 266.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 8.076e-05/0.007833, allocations: 103.2 kB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.216e-05/0.007915, allocations: 23.62 kB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.007917, allocations: 0 / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-05/0.007932, allocations: 15.67 kB / 279.1 MB, free: 11.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.00823, allocations: 44.09 kB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/0.008746, allocations: 216.8 kB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.728e-05/0.008793, allocations: 67.28 kB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.097e-05/0.008814, allocations: 4 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.008841, allocations: 12.5 kB / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.008842, allocations: 0 / 279.4 MB, free: 10.97 MB / 266.7 MB Notification: Performance of Templates: time 0.002642/0.01148, allocations: 0.9143 MB / 280.3 MB, free: 10.09 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.8456355831585824]