Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001679/0.001679, allocations: 111.1 kB / 20.44 MB, free: 1.199 MB / 14.72 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.002304/0.002304, allocations: 207.1 kB / 23.73 MB, free: 4.414 MB / 14.72 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 1.719/1.719, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002194, allocations: 63.88 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.291, allocations: 53.4 MB / 431.6 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003353/0.2943, allocations: 1.839 MB / 433.5 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.2956, allocations: 0.6546 MB / 434.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.2958, allocations: 7.938 kB / 434.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.2959, allocations: 23.73 kB / 434.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.296, allocations: 27.8 kB / 434.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.2964, allocations: 118.6 kB / 434.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.2966, allocations: 143.5 kB / 434.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.2968, allocations: 45.88 kB / 434.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.2969, allocations: 63.72 kB / 434.6 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.86e-05/0.297, allocations: 47.7 kB / 434.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.2971, allocations: 8 kB / 434.6 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-05/0.2971, allocations: 20 kB / 434.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.2972, allocations: 31.86 kB / 434.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.2972, allocations: 51.61 kB / 434.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.2975, allocations: 153.6 kB / 434.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.2975, allocations: 0 / 434.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2975, allocations: 0 / 434.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2975, allocations: 4 kB / 434.9 MB, free: 3.293 MB / 334.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.0006768/0.2981, allocations: 377.6 kB / 435.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2982, allocations: 15.98 kB / 435.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.2984, allocations: 28.83 kB / 435.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.2987, allocations: 194.2 kB / 435.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.2987, allocations: 12.12 kB / 435.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.2987, allocations: 8 kB / 435.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.2994, allocations: 309.5 kB / 435.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.2994, allocations: 0 / 435.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.2994, allocations: 0 / 435.8 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.2994, allocations: 4 kB / 435.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.2996, allocations: 79.86 kB / 435.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004631/0.3001, allocations: 351.1 kB / 436.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004655/0.3005, allocations: 209.1 kB / 436.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.3007, allocations: 104.2 kB / 436.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.3007, allocations: 4 kB / 436.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.3008, allocations: 46.44 kB / 436.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.3008, allocations: 0 / 436.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005499/0.3013, allocations: 221.4 kB / 436.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/0.3015, allocations: 191.9 kB / 437 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.3017, allocations: 183.2 kB / 437.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.3017, allocations: 25.7 kB / 437.2 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.3018, allocations: 112 kB / 437.3 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.3018, allocations: 15.94 kB / 437.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.3019, allocations: 29.72 kB / 437.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.302, allocations: 330.8 kB / 437.7 MB, free: 224 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.3021, allocations: 24.27 kB / 437.7 MB, free: 200 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.3024, allocations: 160.1 kB / 437.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.3026, allocations: 157.6 kB / 438 MB, free: 15.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3026, allocations: 0 / 438 MB, free: 15.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002824/0.3029, allocations: 173.2 kB / 438.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3029, allocations: 10.34 kB / 438.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3029, allocations: 4 kB / 438.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.3029, allocations: 11.88 kB / 438.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.303, allocations: 31.92 kB / 438.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.3031, allocations: 8.5 kB / 438.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3032, allocations: 15.95 kB / 438.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3032, allocations: 8 kB / 438.2 MB, free: 15.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001248/0.3033, allocations: 141.7 kB / 438.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.3036, allocations: 137.5 kB / 438.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.3036, allocations: 25.33 kB / 438.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3036, allocations: 4.469 kB / 438.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3036, allocations: 0 / 438.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3036, allocations: 0 / 438.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.3039, allocations: 157.2 kB / 438.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3039, allocations: 0 / 438.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.304, allocations: 43.84 kB / 438.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.304, allocations: 0 / 438.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.304, allocations: 8 kB / 438.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.304, allocations: 3.938 kB / 438.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.304, allocations: 8 kB / 438.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.3045, allocations: 349.2 kB / 439.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.11e-05/0.3046, allocations: 35.89 kB / 439.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.3046, allocations: 7.984 kB / 439.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.3047, allocations: 11.94 kB / 439.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.3048, allocations: 3.984 kB / 439.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.3048, allocations: 12 kB / 439.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.3049, allocations: 132.4 kB / 439.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3049, allocations: 0 / 439.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003182/0.3052, allocations: 20 kB / 439.3 MB, free: 14.36 MB / 350.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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001995/0.3054, allocations: 103.2 kB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000308/0.3057, allocations: 111.9 kB / 439.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3057, allocations: 0 / 439.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.186e-05/0.3058, allocations: 17.05 kB / 439.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006144/0.3064, allocations: 96.05 kB / 439.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.3077, allocations: 451.5 kB / 440.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.3078, allocations: 110.8 kB / 440.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.884e-05/0.3079, allocations: 17.48 kB / 440.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.3079, allocations: 23.38 kB / 440.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3079, allocations: 3.938 kB / 440.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of Templates: time 0.005738/0.3136, allocations: 1.965 MB / 442.2 MB, free: 11.45 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.823712831363082]