Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.061/2.061, allocations: 230.6 MB / 258.2 MB, free: 7.805 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Analog.Examples.HeatingRectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 51.92 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.326, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.005471/0.3315, allocations: 2.407 MB / 434.7 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.3332, allocations: 0.6622 MB / 435.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.3334, allocations: 4 kB / 435.4 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.3336, allocations: 35.66 kB / 435.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.3338, allocations: 75.27 kB / 435.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004631/0.3343, allocations: 103.8 kB / 435.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004646/0.3347, allocations: 278.7 kB / 435.9 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.335, allocations: 68.19 kB / 436 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.3353, allocations: 115.6 kB / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.3355, allocations: 115.5 kB / 436.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.393e-05/0.3356, allocations: 24 kB / 436.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.3357, allocations: 39.98 kB / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.3358, allocations: 51.77 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.3359, allocations: 103.5 kB / 436.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004969/0.3364, allocations: 290.5 kB / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3364, allocations: 8 kB / 436.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3364, allocations: 0 / 436.7 MB, free: 2.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.3364, allocations: 0 / 436.7 MB, free: 2.371 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.001175/0.3376, allocations: 473.5 kB / 437.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.3377, allocations: 12.03 kB / 437.2 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002652/0.3379, allocations: 40.73 kB / 437.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.3384, allocations: 186.1 kB / 437.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.3384, allocations: 16.81 kB / 437.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.465e-05/0.3385, allocations: 20.38 kB / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006122/0.3391, allocations: 246.9 kB / 437.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.3391, allocations: 3.953 kB / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.3392, allocations: 12 kB / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.3392, allocations: 4 kB / 437.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.3397, allocations: 149.7 kB / 437.8 MB, free: 1.16 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.001771/0.3414, allocations: 0.6251 MB / 438.4 MB, free: 500 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.3419, allocations: 150.5 kB / 438.6 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.3422, allocations: 96.73 kB / 438.7 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.3422, allocations: 0 / 438.7 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.3423, allocations: 38.56 kB / 438.7 MB, free: 192 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.392e-06/0.3423, allocations: 0 / 438.7 MB, free: 192 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001911/0.3442, allocations: 336.8 kB / 439.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.3442, allocations: 55.41 kB / 439.1 MB, free: 15.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.3445, allocations: 171.3 kB / 439.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.3445, allocations: 37.7 kB / 439.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.3447, allocations: 144.4 kB / 439.5 MB, free: 15.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.303e-05/0.3447, allocations: 63.44 kB / 439.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.805e-05/0.3448, allocations: 41.64 kB / 439.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.345, allocations: 322.8 kB / 439.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.3452, allocations: 59.91 kB / 439.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.3454, allocations: 69.69 kB / 440 MB, free: 14.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.3458, allocations: 128.2 kB / 440.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.912e-06/0.3458, allocations: 4 kB / 440.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006406/0.3464, allocations: 218.3 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3465, allocations: 8 kB / 440.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3465, allocations: 0 / 440.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/0.3486, allocations: 216.6 kB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.3488, allocations: 39.86 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007316/0.3495, allocations: 0.6031 MB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.3497, allocations: 15.92 kB / 441.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.3497, allocations: 4 kB / 441.2 MB, free: 13.59 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.0001956/0.3499, allocations: 138.9 kB / 441.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.219e-05/0.35, allocations: 23.78 kB / 441.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006744/0.3507, allocations: 219 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3507, allocations: 0 / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3507, allocations: 8.062 kB / 441.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.3507, allocations: 3.984 kB / 441.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.3519, allocations: 0.5034 MB / 442.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3519, allocations: 3.984 kB / 442.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.3522, allocations: 23.98 kB / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001667/0.3538, allocations: 200.6 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.3539, allocations: 15.94 kB / 442.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007029/0.3546, allocations: 0.6187 MB / 443 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.3546, allocations: 3.938 kB / 443 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.3558, allocations: 416.9 kB / 443.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.3559, allocations: 20 kB / 443.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.746e-05/0.3559, allocations: 15.92 kB / 443.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.3561, allocations: 4 kB / 443.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.3562, allocations: 15.97 kB / 443.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.3562, allocations: 8 kB / 443.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.3564, allocations: 135.2 kB / 443.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3564, allocations: 0 / 443.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004477/0.3568, allocations: 59.84 kB / 443.6 MB, free: 11.07 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.0001843/0.357, allocations: 103.2 kB / 443.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005095/0.3575, allocations: 142.6 kB / 443.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.3575, allocations: 4 kB / 443.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.3578, allocations: 79.88 kB / 444 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.3583, allocations: 31.11 kB / 444 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.3597, allocations: 0.5569 MB / 444.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.3599, allocations: 134.1 kB / 444.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.895e-05/0.3599, allocations: 9.5 kB / 444.7 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.36, allocations: 11.44 kB / 444.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.36, allocations: 8 kB / 444.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of Templates: time 0.009083/0.3691, allocations: 2.556 MB / 447.3 MB, free: 7.418 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 6.411128206003923]