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.001945/0.001945, allocations: 119.6 kB / 20.43 MB, free: 1.297 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.002179/0.002179, allocations: 206.8 kB / 23.74 MB, free: 4.516 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.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.001638/0.001638, allocations: 51.94 kB / 378.3 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2889, allocations: 53.37 MB / 431.6 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004239/0.2932, allocations: 2.56 MB / 434.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.2946, allocations: 0.7089 MB / 434.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.2947, allocations: 4 kB / 434.9 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.2949, allocations: 35.64 kB / 434.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.295, allocations: 83.2 kB / 435 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.2953, allocations: 91.83 kB / 435.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.2957, allocations: 278.8 kB / 435.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.2959, allocations: 61.3 kB / 435.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.2961, allocations: 131.4 kB / 435.6 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.2963, allocations: 115.5 kB / 435.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.248e-05/0.2964, allocations: 20 kB / 435.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.886e-05/0.2965, allocations: 36 kB / 435.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.2965, allocations: 51.83 kB / 435.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.2966, allocations: 131.3 kB / 435.9 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.297, allocations: 284.1 kB / 436.2 MB, free: 2.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.297, allocations: 3.984 kB / 436.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.297, allocations: 0 / 436.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.744e-06/0.297, allocations: 0 / 436.2 MB, free: 2.195 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.0009015/0.298, allocations: 477.5 kB / 436.7 MB, free: 1.699 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.298, allocations: 8.031 kB / 436.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.2982, allocations: 40.73 kB / 436.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.2985, allocations: 194.1 kB / 436.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.2985, allocations: 12.81 kB / 436.9 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.2986, allocations: 20.38 kB / 436.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.299, allocations: 195.6 kB / 437.1 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.299, allocations: 3.938 kB / 437.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.299, allocations: 8 kB / 437.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.299, allocations: 4 kB / 437.1 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.2994, allocations: 149.7 kB / 437.3 MB, free: 1.047 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.001499/0.3009, allocations: 0.8977 MB / 438.2 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.3012, allocations: 146.5 kB / 438.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.3014, allocations: 84.83 kB / 438.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3015, allocations: 3.984 kB / 438.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.3015, allocations: 38.55 kB / 438.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.3015, allocations: 4 kB / 438.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001336/0.3028, allocations: 337 kB / 438.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.3029, allocations: 55.41 kB / 438.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.3031, allocations: 176.4 kB / 439 MB, free: 15.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.3031, allocations: 29.7 kB / 439 MB, free: 15.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.3032, allocations: 152.4 kB / 439.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.3033, allocations: 63.44 kB / 439.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.835e-05/0.3034, allocations: 37.7 kB / 439.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3035, allocations: 334.8 kB / 439.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.3036, allocations: 47.97 kB / 439.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.3038, allocations: 72.12 kB / 439.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.304, allocations: 127.5 kB / 439.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.304, allocations: 7.922 kB / 439.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004517/0.3045, allocations: 218.3 kB / 440.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3045, allocations: 8 kB / 440.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3045, allocations: 0 / 440.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/0.306, allocations: 220.6 kB / 440.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.3062, allocations: 31.97 kB / 440.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005936/0.3068, allocations: 0.6109 MB / 440.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.3069, allocations: 15.92 kB / 441 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.3069, allocations: 4 kB / 441 MB, free: 13.14 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.0001424/0.3071, allocations: 133.8 kB / 441.1 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.3071, allocations: 19.89 kB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/0.3076, allocations: 231.7 kB / 441.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3076, allocations: 0 / 441.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3076, allocations: 0 / 441.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3076, allocations: 0 / 441.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009928/0.3086, allocations: 0.573 MB / 441.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3086, allocations: 3.984 kB / 441.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.3088, allocations: 31.92 kB / 442 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.31, allocations: 196.7 kB / 442.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.31, allocations: 8 kB / 442.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005742/0.3105, allocations: 0.6226 MB / 442.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3105, allocations: 0 / 442.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/0.3115, allocations: 416 kB / 443.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.3115, allocations: 39.81 kB / 443.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.3115, allocations: 0 / 443.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.3117, allocations: 12 kB / 443.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.3117, allocations: 11.97 kB / 443.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.3118, allocations: 8 kB / 443.3 MB, free: 10.74 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.3119, allocations: 129.2 kB / 443.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3119, allocations: 96 / 443.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003494/0.3122, allocations: 59.83 kB / 443.4 MB, free: 10.56 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.0001686/0.3124, allocations: 111.2 kB / 443.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.3128, allocations: 131.9 kB / 443.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3128, allocations: 0 / 443.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002069/0.3131, allocations: 79.89 kB / 443.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.3134, allocations: 39.98 kB / 443.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.3146, allocations: 0.5569 MB / 444.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.315, allocations: 0.7361 MB / 445.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.605e-05/0.3151, allocations: 9.5 kB / 445.1 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.3151, allocations: 23.36 kB / 445.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of SimCode: time 5.82e-07/0.3151, allocations: 0 / 445.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of Templates: time 0.007465/0.3226, allocations: 2.738 MB / 447.9 MB, free: 6.098 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins/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: 4.711947937030345]