Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001296/0.001296, allocations: 109.1 kB / 21.18 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.001483/0.001483, allocations: 217.3 kB / 24.49 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.5 MB / 258.1 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.89 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3089, allocations: 53.4 MB / 432.4 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004293/0.3132, allocations: 2.574 MB / 435 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.3147, allocations: 0.7089 MB / 435.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.3149, allocations: 7.938 kB / 435.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.3151, allocations: 31.64 kB / 435.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.3152, allocations: 75.34 kB / 435.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.3156, allocations: 103.7 kB / 435.9 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.3159, allocations: 278.8 kB / 436.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.3161, allocations: 64.48 kB / 436.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.3163, allocations: 111.6 kB / 436.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.3166, allocations: 123.4 kB / 436.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.3166, allocations: 20 kB / 436.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3167, allocations: 43.98 kB / 436.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.3167, allocations: 51.84 kB / 436.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.3169, allocations: 123.4 kB / 436.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.3173, allocations: 292 kB / 437 MB, free: 2.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3173, allocations: 0 / 437 MB, free: 2.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3173, allocations: 0 / 437 MB, free: 2.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.3173, allocations: 0 / 437 MB, free: 2.176 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.0009254/0.3182, allocations: 481.5 kB / 437.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3183, allocations: 8.031 kB / 437.5 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.3184, allocations: 40.73 kB / 437.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.3188, allocations: 186.8 kB / 437.7 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.3188, allocations: 12.81 kB / 437.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.3189, allocations: 20.38 kB / 437.8 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.3193, allocations: 191.6 kB / 437.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.3193, allocations: 7.984 kB / 437.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.3193, allocations: 8 kB / 438 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.3193, allocations: 4 kB / 438 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.3197, allocations: 149.7 kB / 438.1 MB, free: 1.031 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.001517/0.3212, allocations: 0.8938 MB / 439 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.3215, allocations: 142.5 kB / 439.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.3218, allocations: 84.83 kB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3218, allocations: 8 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.3218, allocations: 30.56 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.733e-06/0.3218, allocations: 0 / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001272/0.3231, allocations: 340.7 kB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.3231, allocations: 55.41 kB / 439.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.3233, allocations: 184.1 kB / 439.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.3234, allocations: 29.64 kB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.3235, allocations: 156.4 kB / 440 MB, free: 14.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.3235, allocations: 67.42 kB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.651e-05/0.3236, allocations: 33.7 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3238, allocations: 330.8 kB / 440.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3239, allocations: 47.97 kB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.324, allocations: 77.25 kB / 440.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.3243, allocations: 128.4 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3243, allocations: 4 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004369/0.3247, allocations: 218.3 kB / 440.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3248, allocations: 4 kB / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3248, allocations: 4 kB / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/0.3262, allocations: 216.6 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.3264, allocations: 31.92 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006582/0.327, allocations: 0.6109 MB / 441.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.3271, allocations: 19.98 kB / 441.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.3271, allocations: 4 kB / 441.8 MB, free: 13.13 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.0001464/0.3273, allocations: 133.7 kB / 441.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.3273, allocations: 23.89 kB / 441.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004996/0.3278, allocations: 230.9 kB / 442.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3278, allocations: 0 / 442.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3279, allocations: 4 kB / 442.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3279, allocations: 0 / 442.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009372/0.3288, allocations: 0.5652 MB / 442.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3288, allocations: 4 kB / 442.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.329, allocations: 31.91 kB / 442.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/0.3301, allocations: 200.6 kB / 443 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.3301, allocations: 11.98 kB / 443 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000526/0.3306, allocations: 0.6187 MB / 443.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3306, allocations: 0 / 443.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008758/0.3315, allocations: 416.9 kB / 444 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.3316, allocations: 27.77 kB / 444 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.3316, allocations: 4 kB / 444 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.3317, allocations: 12.05 kB / 444 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.3318, allocations: 15.98 kB / 444.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.3318, allocations: 7.984 kB / 444.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.3319, allocations: 129.3 kB / 444.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3319, allocations: 3.938 kB / 444.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003216/0.3322, allocations: 55.89 kB / 444.2 MB, free: 10.54 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.000169/0.3324, allocations: 107.2 kB / 444.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004202/0.3328, allocations: 143.9 kB / 444.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3328, allocations: 0 / 444.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.333, allocations: 74.45 kB / 444.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.3334, allocations: 31.92 kB / 444.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.3345, allocations: 0.5884 MB / 445.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.3349, allocations: 0.7439 MB / 445.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.3349, allocations: 15.44 kB / 445.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3349, allocations: 0 / 445.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of Templates: time 0.005813/0.3407, allocations: 3.16 MB / 449.1 MB, free: 5.617 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.3762151470873505]