Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001846/0.001846, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 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.002356/0.002356, allocations: 212.5 kB / 23.73 MB, free: 4.41 MB / 14.72 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.569/1.569, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 47.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2824, allocations: 53.36 MB / 431.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003511/0.2859, allocations: 1.843 MB / 433.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.2872, allocations: 0.6584 MB / 434.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.2874, allocations: 7.938 kB / 434.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.2875, allocations: 23.73 kB / 434.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.2877, allocations: 23.8 kB / 434.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.2881, allocations: 115.7 kB / 434.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.2884, allocations: 143.5 kB / 434.4 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.2885, allocations: 48.25 kB / 434.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.2887, allocations: 63.72 kB / 434.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.18e-05/0.2888, allocations: 47.7 kB / 434.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.2888, allocations: 8 kB / 434.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.768e-05/0.2889, allocations: 16 kB / 434.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.337e-05/0.289, allocations: 31.86 kB / 434.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.089e-05/0.289, allocations: 47.67 kB / 434.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.2893, allocations: 157.5 kB / 434.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2893, allocations: 4 kB / 434.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2893, allocations: 0 / 434.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2893, allocations: 4 kB / 434.8 MB, free: 3.512 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.0006557/0.2899, allocations: 377.6 kB / 435.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.29, allocations: 12.03 kB / 435.2 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.2902, allocations: 24.83 kB / 435.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.2905, allocations: 190.3 kB / 435.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2905, allocations: 8.125 kB / 435.4 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.2906, allocations: 12 kB / 435.4 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000634/0.2912, allocations: 305.9 kB / 435.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2912, allocations: 4 kB / 435.7 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.2912, allocations: 4 kB / 435.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.2912, allocations: 4 kB / 435.7 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.2914, allocations: 75.88 kB / 435.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.2919, allocations: 347.1 kB / 436.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004574/0.2924, allocations: 209 kB / 436.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/0.2926, allocations: 112.3 kB / 436.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.2926, allocations: 4 kB / 436.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2926, allocations: 42.5 kB / 436.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.2926, allocations: 0 / 436.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005508/0.2932, allocations: 217.6 kB / 436.7 MB, free: 1.395 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.2933, allocations: 195.9 kB / 436.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.2935, allocations: 179.2 kB / 437.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.2935, allocations: 29.7 kB / 437.1 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.195e-05/0.2936, allocations: 108 kB / 437.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.2936, allocations: 15.94 kB / 437.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.2937, allocations: 37.7 kB / 437.3 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2938, allocations: 322.8 kB / 437.6 MB, free: 460 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.664e-05/0.2939, allocations: 23.98 kB / 437.6 MB, free: 436 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.2941, allocations: 163 kB / 437.8 MB, free: 216 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002249/0.2943, allocations: 161.6 kB / 437.9 MB, free: 4 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2943, allocations: 0 / 437.9 MB, free: 4 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003136/0.2946, allocations: 177.2 kB / 438.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.2946, allocations: 8 kB / 438.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.2946, allocations: 4 kB / 438.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.2947, allocations: 7.938 kB / 438.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.2948, allocations: 31.92 kB / 438.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.2948, allocations: 8 kB / 438.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.544e-05/0.2949, allocations: 12.42 kB / 438.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.2949, allocations: 15.98 kB / 438.2 MB, free: 15.74 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.0001243/0.295, allocations: 137.7 kB / 438.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/0.2953, allocations: 141.8 kB / 438.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.455e-05/0.2954, allocations: 25.33 kB / 438.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2954, allocations: 7.938 kB / 438.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2954, allocations: 0 / 438.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.2954, allocations: 0 / 438.5 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.2957, allocations: 153.2 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2957, allocations: 4.031 kB / 438.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.2958, allocations: 39.91 kB / 438.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2958, allocations: 0 / 438.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.2958, allocations: 4 kB / 438.7 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2958, allocations: 3.938 kB / 438.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.2958, allocations: 4.234 kB / 438.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.2963, allocations: 357.2 kB / 439 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.2963, allocations: 27.89 kB / 439.1 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.2964, allocations: 15.98 kB / 439.1 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.2965, allocations: 11.94 kB / 439.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.2965, allocations: 3.984 kB / 439.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.2966, allocations: 12 kB / 439.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.2967, allocations: 128.4 kB / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2967, allocations: 0 / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.297, allocations: 24 kB / 439.3 MB, free: 14.59 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.0001157/0.2971, allocations: 103.2 kB / 439.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002862/0.2974, allocations: 115.7 kB / 439.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2974, allocations: 0 / 439.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.257e-05/0.2974, allocations: 12 kB / 439.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000624/0.2981, allocations: 101.4 kB / 439.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.2994, allocations: 454.2 kB / 440 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.2995, allocations: 110.8 kB / 440.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.493e-05/0.2996, allocations: 17.48 kB / 440.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.2996, allocations: 15.44 kB / 440.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of SimCode: time 5e-07/0.2996, allocations: 0 / 440.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of Templates: time 0.005121/0.3047, allocations: 1.983 MB / 442.2 MB, free: 11.67 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.6800094693899155]