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.001335/0.001335, allocations: 113.8 kB / 19.18 MB, free: 3.762 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.001357/0.001357, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.43/1.43, allocations: 230.5 MB / 255.4 MB, free: 15 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.001941/0.001941, allocations: 63.91 kB / 374.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.117, allocations: 53.31 MB / 428.1 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004179/0.1212, allocations: 2.55 MB / 430.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1226, allocations: 0.7011 MB / 431.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.1227, allocations: 4 kB / 431.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.1228, allocations: 39.58 kB / 431.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.123, allocations: 75.34 kB / 431.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.1233, allocations: 99.75 kB / 431.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000341/0.1237, allocations: 278.7 kB / 431.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.1239, allocations: 64.36 kB / 431.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.1241, allocations: 111.6 kB / 432 MB, free: 412 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.1243, allocations: 111.5 kB / 432.1 MB, free: 300 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.258e-05/0.1243, allocations: 28 kB / 432.1 MB, free: 272 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1245, allocations: 43.97 kB / 432.1 MB, free: 228 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.1245, allocations: 51.83 kB / 432.2 MB, free: 176 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.1246, allocations: 123.3 kB / 432.3 MB, free: 52 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2237/0.3483, allocations: 288.2 kB / 432.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3483, allocations: 0.8438 kB / 432.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3483, allocations: 0 / 432.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3483, allocations: 0 / 432.6 MB, free: 8.934 MB / 350.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.0008969/0.3492, allocations: 0.5412 MB / 433.1 MB, free: 8.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.3493, allocations: 9.75 kB / 433.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.3495, allocations: 39.48 kB / 433.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.3498, allocations: 240.3 kB / 433.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.3498, allocations: 15.75 kB / 433.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.73e-05/0.3499, allocations: 22.94 kB / 433.5 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004106/0.3503, allocations: 191.3 kB / 433.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.3503, allocations: 6.938 kB / 433.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.3503, allocations: 6.344 kB / 433.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.3504, allocations: 5.219 kB / 433.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003385/0.3507, allocations: 152.9 kB / 433.8 MB, free: 8.23 MB / 350.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.001301/0.352, allocations: 0.9309 MB / 434.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.3523, allocations: 141.8 kB / 434.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.3525, allocations: 93.22 kB / 435 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.3525, allocations: 0 / 435 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3526, allocations: 39.53 kB / 435 MB, free: 7.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.3526, allocations: 0 / 435 MB, free: 7.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001287/0.3538, allocations: 418.5 kB / 435.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.3539, allocations: 56.34 kB / 435.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.354, allocations: 180.4 kB / 435.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3541, allocations: 30.02 kB / 435.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.3541, allocations: 152.9 kB / 435.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.3542, allocations: 64.84 kB / 435.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.934e-05/0.3543, allocations: 37.19 kB / 435.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.3543, allocations: 325.9 kB / 436.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.3544, allocations: 56.92 kB / 436.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.3546, allocations: 72.55 kB / 436.4 MB, free: 6.711 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.3548, allocations: 128.9 kB / 436.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3548, allocations: 2.438 kB / 436.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00039/0.3552, allocations: 212.5 kB / 436.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3552, allocations: 4.969 kB / 436.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3552, allocations: 1.125 kB / 436.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.3565, allocations: 225 kB / 436.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.3567, allocations: 32.95 kB / 437 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003879/0.3571, allocations: 0.6096 MB / 437.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.3572, allocations: 13.02 kB / 437.6 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.3572, allocations: 10.89 kB / 437.6 MB, free: 6.098 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.0001113/0.3573, allocations: 135.3 kB / 437.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.3574, allocations: 15.72 kB / 437.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000467/0.3578, allocations: 228.9 kB / 438 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.3578, allocations: 2.562 kB / 438 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3579, allocations: 1.406 kB / 438 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.3579, allocations: 2.031 kB / 438 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000852/0.3587, allocations: 0.5878 MB / 438.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3587, allocations: 3 kB / 438.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.3589, allocations: 31.69 kB / 438.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/0.3599, allocations: 206.4 kB / 438.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.36, allocations: 6.875 kB / 438.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00037/0.3603, allocations: 0.6212 MB / 439.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3603, allocations: 1.156 kB / 439.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008002/0.3611, allocations: 423.9 kB / 439.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.3612, allocations: 109 kB / 440 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.034e-05/0.3612, allocations: 2.922 kB / 440 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.3614, allocations: 9.656 kB / 440 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.3614, allocations: 10.2 kB / 440 MB, free: 4.711 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3614, allocations: 9.188 kB / 440 MB, free: 4.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.3615, allocations: 130.4 kB / 440.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3615, allocations: 0 / 440.1 MB, free: 4.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003462/0.3619, allocations: 56.86 kB / 440.2 MB, free: 4.605 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.0001799/0.3621, allocations: 117.4 kB / 440.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004451/0.3625, allocations: 138.3 kB / 440.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3625, allocations: 0 / 440.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.3627, allocations: 81.08 kB / 440.5 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3631, allocations: 41.14 kB / 440.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.3642, allocations: 0.5851 MB / 441.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.3645, allocations: 0.7364 MB / 441.9 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.3645, allocations: 19.02 kB / 441.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3645, allocations: 1.156 kB / 441.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of Templates: time 0.007243/0.3717, allocations: 3.159 MB / 445 MB, free: 3.094 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 -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: 7.156563146971166]