Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.001301/0.001301, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001469/0.001469, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") translateModel(Modelica.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 43.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2756, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004088/0.2797, allocations: 2.408 MB / 434.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.2811, allocations: 0.6544 MB / 435.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.2812, allocations: 7.938 kB / 435.4 MB, free: 3.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.2814, allocations: 39.64 kB / 435.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.2816, allocations: 75.33 kB / 435.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003672/0.2819, allocations: 99.77 kB / 435.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.2823, allocations: 278.8 kB / 435.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.2825, allocations: 56.25 kB / 435.9 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.2827, allocations: 127.5 kB / 436.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.2829, allocations: 103.5 kB / 436.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.2829, allocations: 24 kB / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.283, allocations: 36 kB / 436.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.057e-05/0.2831, allocations: 51.81 kB / 436.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.2832, allocations: 99.59 kB / 436.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004355/0.2836, allocations: 294.5 kB / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2836, allocations: 0 / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.2836, allocations: 4 kB / 436.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.2836, allocations: 0 / 436.7 MB, free: 2.383 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009281/0.2846, allocations: 477.5 kB / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.2846, allocations: 15.97 kB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.2848, allocations: 36.73 kB / 437.2 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.2852, allocations: 186.1 kB / 437.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/0.2852, allocations: 16.81 kB / 437.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-05/0.2853, allocations: 20.38 kB / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004259/0.2857, allocations: 251 kB / 437.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.2857, allocations: 3.953 kB / 437.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.586e-05/0.2858, allocations: 12 kB / 437.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.2858, allocations: 4 kB / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.2861, allocations: 149.6 kB / 437.8 MB, free: 1.164 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.2874, allocations: 0.629 MB / 438.4 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.2877, allocations: 142.6 kB / 438.6 MB, free: 348 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002227/0.288, allocations: 88.75 kB / 438.7 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.288, allocations: 0 / 438.7 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.288, allocations: 46.48 kB / 438.7 MB, free: 200 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.288, allocations: 0 / 438.7 MB, free: 200 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001321/0.2893, allocations: 338.3 kB / 439 MB, free: 15.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.2894, allocations: 55.41 kB / 439.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.2896, allocations: 167.3 kB / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.2896, allocations: 33.7 kB / 439.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.2897, allocations: 148.4 kB / 439.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/0.2898, allocations: 63.44 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-05/0.2899, allocations: 33.7 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.2901, allocations: 326.8 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.2902, allocations: 59.91 kB / 439.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.2903, allocations: 69.69 kB / 440 MB, free: 14.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.2906, allocations: 125.6 kB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2906, allocations: 0 / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004363/0.291, allocations: 221 kB / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2911, allocations: 4 kB / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.2911, allocations: 4 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/0.2924, allocations: 220.6 kB / 440.5 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.2925, allocations: 35.91 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005602/0.2931, allocations: 0.607 MB / 441.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.2932, allocations: 15.92 kB / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.2932, allocations: 4 kB / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000148/0.2934, allocations: 142.9 kB / 441.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.2934, allocations: 15.91 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004821/0.2939, allocations: 232.1 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2939, allocations: 0 / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2939, allocations: 4 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2939, allocations: 0 / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008852/0.2948, allocations: 0.5102 MB / 442.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2948, allocations: 0 / 442.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.295, allocations: 31.91 kB / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/0.296, allocations: 196.6 kB / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.296, allocations: 15.92 kB / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005303/0.2965, allocations: 0.6187 MB / 443 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2965, allocations: 0 / 443 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00084/0.2974, allocations: 421 kB / 443.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.2974, allocations: 19.88 kB / 443.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.2974, allocations: 7.938 kB / 443.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.2976, allocations: 7.984 kB / 443.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.2976, allocations: 15.92 kB / 443.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.2977, allocations: 7.984 kB / 443.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.2978, allocations: 139.3 kB / 443.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2978, allocations: 0 / 443.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003107/0.2981, allocations: 59.84 kB / 443.6 MB, free: 11.07 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001515/0.2982, allocations: 101.9 kB / 443.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000405/0.2986, allocations: 141.9 kB / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2986, allocations: 4 kB / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.2988, allocations: 83.94 kB / 443.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.2992, allocations: 27.98 kB / 444 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.3002, allocations: 0.5892 MB / 444.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.3004, allocations: 126.1 kB / 444.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.3004, allocations: 23.42 kB / 444.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3004, allocations: 0 / 444.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of Templates: time 0.005593/0.306, allocations: 3.227 MB / 447.9 MB, free: 6.695 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.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: 7.236248173750937]