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.001269/0.001269, allocations: 116.1 kB / 21.18 MB, free: 0.7422 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.001402/0.001402, allocations: 214.8 kB / 24.48 MB, free: 4.191 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.451/1.451, allocations: 230.4 MB / 258.1 MB, free: 8.137 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.001967/0.001967, allocations: 71.83 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2278, allocations: 53.31 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.0039/0.2317, allocations: 2.568 MB / 434.6 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.233, allocations: 0.7088 MB / 435.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.2331, allocations: 4 kB / 435.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.2332, allocations: 35.66 kB / 435.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.2334, allocations: 71.33 kB / 435.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.2337, allocations: 107.8 kB / 435.6 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.234, allocations: 278.8 kB / 435.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.2342, allocations: 52.38 kB / 435.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.2344, allocations: 119.5 kB / 436 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.2346, allocations: 115.5 kB / 436.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.2346, allocations: 20 kB / 436.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.2347, allocations: 43.98 kB / 436.2 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.2348, allocations: 51.78 kB / 436.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2349, allocations: 119.5 kB / 436.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.2353, allocations: 296.3 kB / 436.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2353, allocations: 3.938 kB / 436.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2353, allocations: 0 / 436.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.2353, allocations: 0 / 436.6 MB, free: 2.781 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.0008928/0.2362, allocations: 0.5377 MB / 437.2 MB, free: 2.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2362, allocations: 12.03 kB / 437.2 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.2364, allocations: 40.69 kB / 437.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.2367, allocations: 244.5 kB / 437.5 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2368, allocations: 12.81 kB / 437.5 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.2368, allocations: 24.38 kB / 437.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.2372, allocations: 195.6 kB / 437.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.2372, allocations: 3.984 kB / 437.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.2372, allocations: 8 kB / 437.7 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.2372, allocations: 8 kB / 437.7 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003227/0.2376, allocations: 153.6 kB / 437.9 MB, free: 1.465 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.001441/0.239, allocations: 0.9299 MB / 438.8 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.2393, allocations: 142.6 kB / 438.9 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.2395, allocations: 84.81 kB / 439 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.2396, allocations: 0 / 439 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.2396, allocations: 42.5 kB / 439 MB, free: 144 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.092e-06/0.2396, allocations: 4 kB / 439 MB, free: 140 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001326/0.2409, allocations: 414.4 kB / 439.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.2409, allocations: 55.41 kB / 439.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.2411, allocations: 180.2 kB / 439.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.2412, allocations: 33.7 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.2413, allocations: 144.3 kB / 439.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.2413, allocations: 75.41 kB / 439.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.2414, allocations: 33.72 kB / 440 MB, free: 15.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2415, allocations: 330.8 kB / 440.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.2417, allocations: 47.92 kB / 440.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.2418, allocations: 73.67 kB / 440.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.242, allocations: 132.7 kB / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.242, allocations: 0 / 440.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000428/0.2425, allocations: 218.3 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2425, allocations: 4 kB / 440.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2425, allocations: 0 / 440.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.2439, allocations: 220.6 kB / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.244, allocations: 31.98 kB / 441 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005396/0.2445, allocations: 0.6108 MB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.2447, allocations: 23.91 kB / 441.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.2447, allocations: 4 kB / 441.6 MB, free: 13.43 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.0001306/0.2448, allocations: 133.8 kB / 441.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.2449, allocations: 15.91 kB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004766/0.2453, allocations: 234.1 kB / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2453, allocations: 0 / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2453, allocations: 0 / 442 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.2454, allocations: 92.95 kB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.2454, allocations: 8 kB / 442.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.2456, allocations: 15.92 kB / 442.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.2456, allocations: 15.97 kB / 442.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008747/0.2465, allocations: 341.5 kB / 442.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005688/0.2471, allocations: 429.8 kB / 442.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001247/0.2472, allocations: 55.91 kB / 442.9 MB, free: 12.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.2473, allocations: 133.2 kB / 443.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Backend: time 3.3e-07/0.2473, allocations: 4 kB / 443.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006291/0.2479, allocations: 174.2 kB / 443.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of SimCode: time 0.001237/0.2492, allocations: 1.061 MB / 444.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Templates: time 0.006648/0.2558, allocations: 2.728 MB / 447 MB, free: 7.918 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: 4.260057078208774]