Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.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.001818/0.001818, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002118/0.002118, allocations: 217.4 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.576/1.576, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/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.Electrical.Analog.Examples.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 75.81 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3054, allocations: 53.31 MB / 432.1 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004546/0.3099, allocations: 2.569 MB / 434.6 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.3112, allocations: 0.7012 MB / 435.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.3114, allocations: 7.938 kB / 435.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.3115, allocations: 35.64 kB / 435.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.3117, allocations: 71.36 kB / 435.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.312, allocations: 99.75 kB / 435.5 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.3124, allocations: 286.7 kB / 435.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.3125, allocations: 60.31 kB / 435.9 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.3128, allocations: 111.6 kB / 436 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002387/0.313, allocations: 119.4 kB / 436.1 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.313, allocations: 20 kB / 436.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.3131, allocations: 43.98 kB / 436.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.3132, allocations: 55.83 kB / 436.2 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.3133, allocations: 123.4 kB / 436.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.3137, allocations: 288.3 kB / 436.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3137, allocations: 0 / 436.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3137, allocations: 0 / 436.6 MB, free: 2.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3138, allocations: 0 / 436.6 MB, free: 2.828 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.0009487/0.3147, allocations: 0.5416 MB / 437.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3147, allocations: 8.031 kB / 437.2 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.3149, allocations: 40.73 kB / 437.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.3153, allocations: 252.4 kB / 437.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.3153, allocations: 12.81 kB / 437.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.3153, allocations: 20.38 kB / 437.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.3157, allocations: 191.6 kB / 437.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3157, allocations: 0 / 437.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.3158, allocations: 12 kB / 437.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.3158, allocations: 4 kB / 437.7 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.3161, allocations: 149.7 kB / 437.8 MB, free: 1.52 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.001495/0.3176, allocations: 0.9415 MB / 438.8 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.3179, allocations: 146.6 kB / 438.9 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.3181, allocations: 84.81 kB / 439 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.3181, allocations: 8 kB / 439 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.3182, allocations: 34.56 kB / 439 MB, free: 184 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.3182, allocations: 0 / 439 MB, free: 184 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001292/0.3195, allocations: 414.3 kB / 439.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.3195, allocations: 55.34 kB / 439.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.3197, allocations: 184.3 kB / 439.7 MB, free: 15.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.3198, allocations: 33.7 kB / 439.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.3199, allocations: 144.3 kB / 439.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.551e-05/0.3199, allocations: 67.42 kB / 439.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.73e-05/0.32, allocations: 37.7 kB / 440 MB, free: 15.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3202, allocations: 330.8 kB / 440.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.3203, allocations: 51.97 kB / 440.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.3205, allocations: 69.69 kB / 440.4 MB, free: 14.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.3207, allocations: 124.7 kB / 440.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3207, allocations: 0 / 440.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004249/0.3211, allocations: 222.3 kB / 440.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3211, allocations: 4 kB / 440.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3212, allocations: 4 kB / 440.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.3225, allocations: 228.5 kB / 441 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.3226, allocations: 31.98 kB / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005667/0.3232, allocations: 0.607 MB / 441.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.3233, allocations: 15.95 kB / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.3233, allocations: 11.94 kB / 441.6 MB, free: 13.46 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.0001423/0.3235, allocations: 129.8 kB / 441.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.3235, allocations: 15.91 kB / 441.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.324, allocations: 226.1 kB / 442 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.324, allocations: 4 kB / 442 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.324, allocations: 4 kB / 442 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.324, allocations: 0 / 442 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009656/0.325, allocations: 0.5896 MB / 442.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.325, allocations: 0 / 442.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.3252, allocations: 39.84 kB / 442.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.3262, allocations: 204.6 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.3262, allocations: 3.984 kB / 442.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005414/0.3268, allocations: 0.6187 MB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3268, allocations: 0 / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008436/0.3276, allocations: 421 kB / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-05/0.3277, allocations: 96.94 kB / 444 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.3277, allocations: 11.98 kB / 444 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3279, allocations: 8 kB / 444 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.3279, allocations: 12.05 kB / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3279, allocations: 4 kB / 444 MB, free: 10.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.3281, allocations: 137.3 kB / 444.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3281, allocations: 3.938 kB / 444.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003154/0.3284, allocations: 63.83 kB / 444.2 MB, free: 10.75 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.0001797/0.3286, allocations: 103.2 kB / 444.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004223/0.329, allocations: 147.1 kB / 444.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.329, allocations: 0 / 444.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.3292, allocations: 78.92 kB / 444.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.3295, allocations: 32 kB / 444.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.3306, allocations: 0.5739 MB / 445.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.331, allocations: 0.74 MB / 445.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.418e-05/0.3311, allocations: 13.55 kB / 445.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.3311, allocations: 15.44 kB / 445.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3311, allocations: 0 / 445.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of Templates: time 0.006926/0.338, allocations: 2.694 MB / 448.6 MB, free: 6.328 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.8984915991313756]