Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.0008107/0.0008107, 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.0009179/0.0009179, allocations: 165.7 kB / 24.99 MB, free: 8.324 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 0.9976/0.9976, allocations: 177.1 MB / 205.3 MB, free: 5.602 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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 273.1 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.79e-05/1.939e-05, allocations: 2.312 kB / 273.1 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002217/0.002236, allocations: 1.895 MB / 275 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009351/0.003171, allocations: 0.67 MB / 275.6 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.003285, allocations: 11.88 kB / 275.6 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000148/0.003433, allocations: 23.73 kB / 275.7 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.003578, allocations: 31.78 kB / 275.7 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.003951, allocations: 111.6 kB / 275.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000159/0.00411, allocations: 139.6 kB / 275.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.004238, allocations: 49.94 kB / 276 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.004389, allocations: 83.73 kB / 276.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.977e-05/0.004459, allocations: 39.83 kB / 276.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.004478, allocations: 8 kB / 276.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.268e-05/0.004521, allocations: 12 kB / 276.1 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.004568, allocations: 31.86 kB / 276.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.004604, allocations: 35.91 kB / 276.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.004777, allocations: 111.5 kB / 276.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004779, allocations: 0 / 276.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004779, allocations: 0 / 276.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.004784, allocations: 0 / 276.3 MB, free: 14.54 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004405/0.005224, allocations: 472 kB / 276.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.00526, allocations: 12.03 kB / 276.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.005388, allocations: 32.83 kB / 276.8 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.005607, allocations: 205 kB / 277 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.005628, allocations: 8.562 kB / 277 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.005641, allocations: 4.375 kB / 277 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003841/0.006025, allocations: 287.2 kB / 277.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.006033, allocations: 3.938 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.006046, allocations: 8 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.006053, allocations: 3.938 kB / 277.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.124e-05/0.006114, allocations: 35.91 kB / 277.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.006495, allocations: 461.6 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.006736, allocations: 199.3 kB / 278 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.412e-05/0.00682, allocations: 90.58 kB / 278.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.006841, allocations: 11.94 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.006863, allocations: 41.39 kB / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.823e-06/0.006865, allocations: 0 / 278.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002576/0.007123, allocations: 161.3 kB / 278.3 MB, free: 12.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/0.007205, allocations: 195.9 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.007331, allocations: 230.6 kB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.007346, allocations: 33.7 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.007404, allocations: 151.2 kB / 278.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.007417, allocations: 7.953 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.00745, allocations: 31.69 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.00756, allocations: 0.5 MB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.007574, allocations: 4 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.007611, allocations: 64.44 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.314e-05/0.007664, allocations: 39 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.007666, allocations: 0 / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.998e-05/0.007766, allocations: 61.58 kB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.007781, allocations: 4 kB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.007788, allocations: 12.12 kB / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.0078, allocations: 0 / 279.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.909e-05/0.007869, allocations: 8 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.007876, allocations: 3.938 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.007925, allocations: 7.984 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.007931, allocations: 0 / 279.6 MB, free: 10.82 MB / 266.7 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 9.471e-05/0.008025, allocations: 164.5 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.00819, allocations: 121.4 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.008226, allocations: 17.47 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.008232, allocations: 7.984 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.008235, allocations: 4.031 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.00824, allocations: 4 kB / 279.9 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.008396, allocations: 160.5 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.008397, allocations: 0 / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.509e-05/0.008473, allocations: 35.92 kB / 280.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.008475, allocations: 0 / 280.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.008485, allocations: 8 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.008488, allocations: 3.984 kB / 280.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.00849, allocations: 4 kB / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.008709, allocations: 428.3 kB / 280.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.008758, allocations: 39.81 kB / 280.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.008777, allocations: 4 kB / 280.6 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.008848, allocations: 8 kB / 280.6 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.008877, allocations: 4 kB / 280.6 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.008885, allocations: 7.984 kB / 280.6 MB, free: 9.734 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.148e-05/0.008956, allocations: 168.2 kB / 280.8 MB, free: 9.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008956, allocations: 0 / 280.8 MB, free: 9.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001758/0.009132, allocations: 16 kB / 280.8 MB, free: 9.555 MB / 266.7 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 7.606e-05/0.009208, allocations: 103.2 kB / 280.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.009318, allocations: 55.59 kB / 281 MB, free: 9.383 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.00932, allocations: 3.938 kB / 281 MB, free: 9.379 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.095e-05/0.009341, allocations: 15.69 kB / 281 MB, free: 9.359 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.009864, allocations: 96.14 kB / 281.1 MB, free: 9.266 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006037/0.01047, allocations: 310.6 kB / 281.4 MB, free: 8.918 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.156e-05/0.01053, allocations: 83.83 kB / 281.5 MB, free: 8.816 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.849e-05/0.01056, allocations: 5.156 kB / 281.5 MB, free: 8.812 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.01059, allocations: 20.48 kB / 281.5 MB, free: 8.793 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01059, allocations: 0 / 281.5 MB, free: 8.793 MB / 266.7 MB Notification: Performance of Templates: time 0.003261/0.01385, allocations: 1.793 MB / 283.3 MB, free: 7.031 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.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.9430691690649837]