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.001895/0.001895, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.002374/0.002374, allocations: 220.5 kB / 23 MB, free: 5.574 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.499/1.499, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.0018/0.0018, allocations: 67.88 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2981, allocations: 53.32 MB / 429.8 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004553/0.3027, allocations: 2.571 MB / 432.4 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.304, allocations: 0.6973 MB / 433.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.3042, allocations: 4 kB / 433.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.3043, allocations: 39.58 kB / 433.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.3045, allocations: 79.33 kB / 433.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.3048, allocations: 91.77 kB / 433.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003465/0.3052, allocations: 282.7 kB / 433.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.3054, allocations: 64.36 kB / 433.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.3056, allocations: 107.6 kB / 433.7 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.3058, allocations: 119.5 kB / 433.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.3058, allocations: 28 kB / 433.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3059, allocations: 36 kB / 433.9 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.726e-05/0.306, allocations: 55.77 kB / 434 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.3061, allocations: 119.4 kB / 434.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.3065, allocations: 300 kB / 434.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3065, allocations: 0 / 434.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3065, allocations: 0 / 434.4 MB, free: 2.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3066, allocations: 0 / 434.4 MB, free: 2.965 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.0009327/0.3075, allocations: 0.5299 MB / 434.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3075, allocations: 12.03 kB / 434.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/0.3077, allocations: 40.73 kB / 435 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.308, allocations: 248 kB / 435.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.3081, allocations: 12.81 kB / 435.2 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.254e-05/0.3081, allocations: 28.33 kB / 435.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.3085, allocations: 195.5 kB / 435.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3085, allocations: 0 / 435.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.3085, allocations: 15.98 kB / 435.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3086, allocations: 7.938 kB / 435.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.3089, allocations: 149.7 kB / 435.6 MB, free: 1.648 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.001416/0.3103, allocations: 0.9298 MB / 436.5 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.3106, allocations: 150.5 kB / 436.7 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.3108, allocations: 84.83 kB / 436.8 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.3108, allocations: 0 / 436.8 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.3109, allocations: 38.56 kB / 436.8 MB, free: 328 kB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 9.72e-07/0.3109, allocations: 0 / 436.8 MB, free: 328 kB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.001294/0.3122, allocations: 411.4 kB / 437.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.3122, allocations: 55.41 kB / 437.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.3124, allocations: 184.9 kB / 437.4 MB, free: 15.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.3124, allocations: 29.7 kB / 437.5 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3126, allocations: 148.3 kB / 437.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.3e-05/0.3126, allocations: 67.42 kB / 437.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.154e-05/0.3127, allocations: 37.7 kB / 437.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3128, allocations: 330.8 kB / 438 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.313, allocations: 47.97 kB / 438.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3131, allocations: 81 kB / 438.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/0.3133, allocations: 121.7 kB / 438.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3133, allocations: 0 / 438.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00042/0.3138, allocations: 217 kB / 438.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3138, allocations: 10.66 kB / 438.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.3138, allocations: 4.031 kB / 438.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.3152, allocations: 216.5 kB / 438.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.3153, allocations: 35.92 kB / 438.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005579/0.3159, allocations: 0.6148 MB / 439.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.316, allocations: 11.92 kB / 439.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.3161, allocations: 8 kB / 439.4 MB, free: 13.61 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.0001434/0.3162, allocations: 141.7 kB / 439.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.3163, allocations: 15.91 kB / 439.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.3167, allocations: 220.3 kB / 439.7 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3167, allocations: 4.062 kB / 439.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3168, allocations: 0 / 439.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.3168, allocations: 7.984 kB / 439.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009481/0.3177, allocations: 0.5934 MB / 440.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3177, allocations: 0 / 440.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.3179, allocations: 31.86 kB / 440.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/0.319, allocations: 208.6 kB / 440.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.319, allocations: 7.938 kB / 440.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005286/0.3195, allocations: 0.6187 MB / 441.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3195, allocations: 0 / 441.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008551/0.3204, allocations: 423.4 kB / 441.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.672e-05/0.3204, allocations: 100.9 kB / 441.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.3205, allocations: 4 kB / 441.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.3206, allocations: 16.06 kB / 441.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.3207, allocations: 7.984 kB / 441.8 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.3207, allocations: 7.984 kB / 441.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.3208, allocations: 128.1 kB / 441.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3208, allocations: 0 / 441.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003365/0.3212, allocations: 63.83 kB / 442 MB, free: 10.89 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.0002014/0.3214, allocations: 107.2 kB / 442.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004526/0.3218, allocations: 143.8 kB / 442.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3218, allocations: 4 kB / 442.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.322, allocations: 79.89 kB / 442.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.3224, allocations: 27.92 kB / 442.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3236, allocations: 0.5554 MB / 442.9 MB, free: 9.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.3241, allocations: 0.7439 MB / 443.6 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.849e-05/0.3241, allocations: 17.48 kB / 443.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.3242, allocations: 15.44 kB / 443.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3242, allocations: 4.031 kB / 443.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of Templates: time 0.007978/0.3321, allocations: 2.669 MB / 446.3 MB, free: 6.488 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/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_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: 4.820455839857459]