Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.00157/0.00157, allocations: 81.73 kB / 20.68 MB, free: 1.027 MB / 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.001787/0.001787, allocations: 147 kB / 23.93 MB, free: 4.176 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.443/1.443, allocations: 173.3 MB / 200.4 MB, free: 12.89 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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.362e-05, allocations: 7.688 kB / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002523/0.002546, allocations: 1.817 MB / 320.8 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009982/0.003544, allocations: 0.6019 MB / 321.4 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.003648, allocations: 7.156 kB / 321.4 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.003769, allocations: 25.09 kB / 321.4 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.003891, allocations: 27.16 kB / 321.4 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.004241, allocations: 97.38 kB / 321.5 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.004419, allocations: 149.2 kB / 321.7 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.004548, allocations: 45.75 kB / 321.7 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.004677, allocations: 80.52 kB / 321.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.004748, allocations: 33.91 kB / 321.8 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.004782, allocations: 9.562 kB / 321.8 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.293e-05/0.004805, allocations: 10.5 kB / 321.8 MB, free: 1.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.004858, allocations: 34.44 kB / 321.9 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.381e-05/0.004902, allocations: 35.77 kB / 321.9 MB, free: 1.617 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.005111, allocations: 149.4 kB / 322 MB, free: 1.551 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.005115, allocations: 1.125 kB / 322 MB, free: 1.551 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.005116, allocations: 4 kB / 322.1 MB, free: 1.547 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.00512, allocations: 0 / 322.1 MB, free: 1.547 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004949/0.005615, allocations: 379.5 kB / 322.4 MB, free: 1.211 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.005645, allocations: 9.531 kB / 322.4 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.005688, allocations: 21.55 kB / 322.5 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.005924, allocations: 181.1 kB / 322.6 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.00594, allocations: 8.438 kB / 322.6 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.005961, allocations: 14.34 kB / 322.7 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/0.006512, allocations: 313.9 kB / 323 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.006523, allocations: 0 / 323 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.006537, allocations: 1.438 kB / 323 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.006543, allocations: 7.641 kB / 323 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002167/0.006759, allocations: 76.92 kB / 323 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003147/0.007074, allocations: 353 kB / 323.4 MB, free: 476 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004047/0.007479, allocations: 206.8 kB / 323.6 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001746/0.007653, allocations: 111.9 kB / 323.7 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.007675, allocations: 4.328 kB / 323.7 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.007691, allocations: 39.91 kB / 323.7 MB, free: 200 kB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.007692, allocations: 0 / 323.7 MB, free: 200 kB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005293/0.008222, allocations: 221.9 kB / 324 MB, free: 104 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.008341, allocations: 199.8 kB / 324.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.008528, allocations: 176.2 kB / 324.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.008554, allocations: 31.08 kB / 324.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.008629, allocations: 100.5 kB / 324.5 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.008654, allocations: 18.86 kB / 324.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.008696, allocations: 17.23 kB / 324.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.008853, allocations: 324.8 kB / 324.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.19e-05/0.008905, allocations: 12.8 kB / 324.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.449e-05/0.00899, allocations: 62.75 kB / 324.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.009093, allocations: 55.33 kB / 324.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.009095, allocations: 0 / 324.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001635/0.009259, allocations: 74 kB / 325 MB, free: 15.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.009274, allocations: 5.5 kB / 325 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.00928, allocations: 0.7969 kB / 325 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.009297, allocations: 1.469 kB / 325 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.009377, allocations: 14.31 kB / 325 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.009381, allocations: 0 / 325 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.227e-05/0.009444, allocations: 5.859 kB / 325 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.009451, allocations: 5.312 kB / 325 MB, free: 15.1 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001286/0.009579, allocations: 129.3 kB / 325.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/0.009889, allocations: 142.1 kB / 325.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.276e-05/0.009941, allocations: 25.83 kB / 325.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.009946, allocations: 3.281 kB / 325.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.009951, allocations: 5.156 kB / 325.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.009957, allocations: 3.828 kB / 325.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.01022, allocations: 145 kB / 325.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.01022, allocations: 5.312 kB / 325.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.01038, allocations: 34.33 kB / 325.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.01038, allocations: 2.688 kB / 325.5 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.0104, allocations: 7.719 kB / 325.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.0104, allocations: 1.25 kB / 325.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.0104, allocations: 2.781 kB / 325.5 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004686/0.01087, allocations: 366.7 kB / 325.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.062e-05/0.01095, allocations: 35.52 kB / 325.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.01098, allocations: 12.02 kB / 325.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.01114, allocations: 10.05 kB / 325.9 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.01118, allocations: 3.906 kB / 326 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.01119, allocations: 12.69 kB / 326 MB, free: 14.41 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001268/0.01132, allocations: 137.5 kB / 326.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01132, allocations: 1.188 kB / 326.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002992/0.01162, allocations: 17.28 kB / 326.1 MB, free: 14.32 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001282/0.01175, allocations: 105.5 kB / 326.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.01201, allocations: 74.86 kB / 326.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01201, allocations: 0 / 326.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.688e-05/0.01206, allocations: 9.938 kB / 326.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.01274, allocations: 123.4 kB / 326.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006669/0.0134, allocations: 304.7 kB / 326.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.01354, allocations: 114.4 kB / 326.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.003e-05/0.01359, allocations: 10.23 kB / 326.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.01364, allocations: 24.12 kB / 326.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.01364, allocations: 0 / 326.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of Templates: time 0.005574/0.01922, allocations: 1.776 MB / 328.6 MB, free: 13.6 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.2925574369728565]