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.001945/0.001945, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002263/0.002263, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.496/1.496, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.002081/0.002081, allocations: 68.55 kB / 379 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2745, allocations: 53.36 MB / 432.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004352/0.2789, allocations: 2.571 MB / 435 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.2803, allocations: 0.705 MB / 435.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.2805, allocations: 11.88 kB / 435.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.2807, allocations: 39.64 kB / 435.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.2808, allocations: 67.34 kB / 435.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.2811, allocations: 99.75 kB / 435.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.2815, allocations: 278.8 kB / 436.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.2817, allocations: 72.25 kB / 436.2 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.2819, allocations: 115.5 kB / 436.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.2821, allocations: 115.5 kB / 436.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.857e-05/0.2822, allocations: 20 kB / 436.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.2823, allocations: 39.98 kB / 436.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.115e-05/0.2823, allocations: 51.83 kB / 436.6 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.2825, allocations: 123.4 kB / 436.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.2829, allocations: 286.5 kB / 437 MB, free: 2.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.2829, allocations: 4 kB / 437 MB, free: 2.367 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2829, allocations: 0 / 437 MB, free: 2.367 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.2829, allocations: 4 kB / 437 MB, free: 2.363 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.0009321/0.2838, allocations: 473.5 kB / 437.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2839, allocations: 12.03 kB / 437.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00018/0.284, allocations: 36.73 kB / 437.5 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.2844, allocations: 198.1 kB / 437.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.2844, allocations: 12.81 kB / 437.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.2845, allocations: 20.38 kB / 437.7 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.2849, allocations: 195.6 kB / 437.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.2849, allocations: 0 / 437.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.2849, allocations: 8 kB / 437.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.2849, allocations: 11.94 kB / 437.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.2853, allocations: 149.7 kB / 438.1 MB, free: 1.211 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.2868, allocations: 0.8976 MB / 439 MB, free: 216 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003534/0.2871, allocations: 146.6 kB / 439.1 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.2874, allocations: 80.83 kB / 439.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.2874, allocations: 0 / 439.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.2874, allocations: 38.56 kB / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 9.41e-07/0.2874, allocations: 0 / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.00127/0.2887, allocations: 341 kB / 439.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.2887, allocations: 59.34 kB / 439.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.2889, allocations: 179.6 kB / 439.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.289, allocations: 33.7 kB / 439.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.2891, allocations: 148.4 kB / 440 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.2891, allocations: 63.44 kB / 440 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.737e-05/0.2892, allocations: 37.7 kB / 440.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2894, allocations: 334.8 kB / 440.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.2895, allocations: 47.97 kB / 440.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.2896, allocations: 69.69 kB / 440.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.2899, allocations: 121.7 kB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2899, allocations: 0 / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004205/0.2903, allocations: 220.9 kB / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.2903, allocations: 8 kB / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2903, allocations: 0 / 440.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.2917, allocations: 220.5 kB / 441.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.2918, allocations: 39.97 kB / 441.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000564/0.2924, allocations: 0.6031 MB / 441.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.2925, allocations: 27.86 kB / 441.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.2925, allocations: 4 kB / 441.7 MB, free: 13.31 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.0001495/0.2927, allocations: 131.8 kB / 441.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.2927, allocations: 19.97 kB / 441.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004875/0.2932, allocations: 228.2 kB / 442.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2932, allocations: 0 / 442.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2932, allocations: 7.938 kB / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2932, allocations: 0 / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009468/0.2942, allocations: 0.5614 MB / 442.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2942, allocations: 0 / 442.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001507/0.2943, allocations: 35.91 kB / 442.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.2954, allocations: 204.5 kB / 442.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.2955, allocations: 7.984 kB / 442.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005271/0.296, allocations: 0.6226 MB / 443.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.296, allocations: 0 / 443.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008582/0.2968, allocations: 422.2 kB / 444 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.2969, allocations: 27.77 kB / 444 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.2969, allocations: 4 kB / 444 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.2971, allocations: 11.98 kB / 444 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.2971, allocations: 7.984 kB / 444 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.2971, allocations: 11.98 kB / 444 MB, free: 10.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.2972, allocations: 129.2 kB / 444.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2972, allocations: 0 / 444.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.2975, allocations: 59.95 kB / 444.2 MB, free: 10.73 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.0001768/0.2977, allocations: 115.2 kB / 444.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.2981, allocations: 131.9 kB / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2981, allocations: 0 / 444.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.2983, allocations: 79.95 kB / 444.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.2987, allocations: 35.98 kB / 444.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.2998, allocations: 0.5539 MB / 445.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.3002, allocations: 0.7478 MB / 445.9 MB, free: 9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.863e-05/0.3003, allocations: 13.48 kB / 445.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.3003, allocations: 11.44 kB / 445.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3003, allocations: 0 / 445.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of Templates: time 0.007458/0.3077, allocations: 2.734 MB / 448.6 MB, free: 6.266 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/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-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.627036672085524]