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.001392/0.001392, allocations: 96.25 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001497/0.001497, allocations: 156.9 kB / 24.27 MB, free: 176 kB / 18.57 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.513/1.513, allocations: 177 MB / 204.4 MB, free: 5.609 MB / 186.7 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 1.643e-06/1.643e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.715e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004253/0.00428, allocations: 2.394 MB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.005718, allocations: 0.6776 MB / 275.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.005835, allocations: 0 / 275.3 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.005994, allocations: 35.64 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.006152, allocations: 79.27 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.006639, allocations: 95.7 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005711/0.00721, allocations: 290.6 kB / 275.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.007458, allocations: 64.53 kB / 275.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004304/0.007889, allocations: 171.5 kB / 276 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.00814, allocations: 83.77 kB / 276.1 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.923e-05/0.008219, allocations: 24 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.008378, allocations: 43.92 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.008465, allocations: 55.75 kB / 276.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.008629, allocations: 79.83 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004911/0.00912, allocations: 291.1 kB / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.009128, allocations: 7.984 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.009129, allocations: 0 / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.009135, allocations: 0 / 276.6 MB, free: 13.39 MB / 266.7 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.0008952/0.01003, allocations: 477.5 kB / 277 MB, free: 12.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.01007, allocations: 11.98 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.01029, allocations: 52.73 kB / 277.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.01071, allocations: 189.4 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.156e-05/0.01074, allocations: 16.88 kB / 277.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-05/0.01081, allocations: 20.38 kB / 277.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.01131, allocations: 244 kB / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.01132, allocations: 192 / 277.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.01135, allocations: 8.375 kB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.01136, allocations: 7.938 kB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.0117, allocations: 149.9 kB / 277.7 MB, free: 12.17 MB / 266.7 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.001393/0.0131, allocations: 0.6452 MB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.01344, allocations: 134.6 kB / 278.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.01366, allocations: 84.77 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.01368, allocations: 4 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.01372, allocations: 46.5 kB / 278.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.01372, allocations: 0 / 278.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001359/0.01508, allocations: 342.3 kB / 279 MB, free: 10.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.01513, allocations: 55.39 kB / 279 MB, free: 10.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.01533, allocations: 174.7 kB / 279.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.01536, allocations: 25.7 kB / 279.2 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.01548, allocations: 152.4 kB / 279.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/0.01555, allocations: 71.42 kB / 279.4 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.522e-05/0.01563, allocations: 41.7 kB / 279.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.01581, allocations: 326.8 kB / 279.8 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.01594, allocations: 43.98 kB / 279.8 MB, free: 9.926 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.01609, allocations: 77.61 kB / 279.9 MB, free: 9.844 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.01635, allocations: 125.6 kB / 280 MB, free: 9.715 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.01636, allocations: 8 kB / 280 MB, free: 9.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005324/0.01689, allocations: 224.8 kB / 280.3 MB, free: 9.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.01691, allocations: 10.84 kB / 280.3 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.01692, allocations: 3.984 kB / 280.3 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.01838, allocations: 212.6 kB / 280.5 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.01852, allocations: 31.98 kB / 280.5 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006177/0.01914, allocations: 0.6186 MB / 281.1 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.01926, allocations: 23.98 kB / 281.2 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.01928, allocations: 4 kB / 281.2 MB, free: 8.555 MB / 266.7 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.0001339/0.01941, allocations: 125.8 kB / 281.3 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.01947, allocations: 23.91 kB / 281.3 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005055/0.01997, allocations: 228.1 kB / 281.5 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01997, allocations: 0 / 281.5 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.01998, allocations: 4 kB / 281.5 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.01998, allocations: 0 / 281.5 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009316/0.02092, allocations: 0.5151 MB / 282.1 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.02092, allocations: 0 / 282.1 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.02107, allocations: 23.98 kB / 282.1 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.02219, allocations: 196.7 kB / 282.3 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.02221, allocations: 8 kB / 282.3 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005887/0.0228, allocations: 0.6303 MB / 282.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.0228, allocations: 4.062 kB / 282.9 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009004/0.0237, allocations: 432.1 kB / 283.3 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.02374, allocations: 15.91 kB / 283.3 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.02376, allocations: 0 / 283.3 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.02393, allocations: 15.98 kB / 283.4 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.02398, allocations: 15.98 kB / 283.4 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.024, allocations: 8 kB / 283.4 MB, free: 6.223 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000127/0.02412, allocations: 132.3 kB / 283.5 MB, free: 6.094 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02412, allocations: 0 / 283.5 MB, free: 6.094 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003223/0.02444, allocations: 67.78 kB / 283.6 MB, free: 6.027 MB / 266.7 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.0001923/0.02464, allocations: 107.2 kB / 283.7 MB, free: 5.914 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000424/0.02506, allocations: 140.9 kB / 283.8 MB, free: 5.777 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.02506, allocations: 4.062 kB / 283.8 MB, free: 5.773 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.02527, allocations: 81.02 kB / 283.9 MB, free: 5.695 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.0256, allocations: 32.05 kB / 283.9 MB, free: 5.664 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.02661, allocations: 497.3 kB / 284.4 MB, free: 5.145 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000157/0.02677, allocations: 130 kB / 284.6 MB, free: 5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.062e-05/0.02683, allocations: 13.48 kB / 284.6 MB, free: 4.988 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.02687, allocations: 20.5 kB / 284.6 MB, free: 4.969 MB / 266.7 MB Notification: Performance of SimCode: time 4.31e-07/0.02687, allocations: 0 / 284.6 MB, free: 4.969 MB / 266.7 MB Notification: Performance of Templates: time 0.006428/0.0333, allocations: 2.261 MB / 286.8 MB, free: 2.742 MB / 266.7 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.414977298001759]