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.001348/0.001348, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.001684/0.001684, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.463/1.463, allocations: 177.1 MB / 204.7 MB, free: 8.949 MB / 190.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.001998/0.001998, allocations: 62.22 kB / 325.5 MB, free: 168 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1059, allocations: 53.38 MB / 378.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003934/0.1098, allocations: 2.406 MB / 381.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1111, allocations: 0.6622 MB / 382 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.1112, allocations: 7.938 kB / 382 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.1114, allocations: 43.64 kB / 382 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.1115, allocations: 67.34 kB / 382.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003565/0.1119, allocations: 103.8 kB / 382.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003397/0.1122, allocations: 274.8 kB / 382.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.1124, allocations: 56.5 kB / 382.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.1126, allocations: 115.6 kB / 382.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.1128, allocations: 107.5 kB / 382.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.07e-05/0.1128, allocations: 28 kB / 382.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1129, allocations: 35.98 kB / 382.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.113, allocations: 55.72 kB / 382.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1131, allocations: 103.6 kB / 383 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003887/0.1135, allocations: 290.8 kB / 383.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1135, allocations: 0 / 383.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1135, allocations: 0 / 383.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1135, allocations: 0 / 383.2 MB, free: 11.08 MB / 350.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.0008982/0.1144, allocations: 481.5 kB / 383.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1145, allocations: 11.98 kB / 383.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.1146, allocations: 36.75 kB / 383.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.115, allocations: 186.1 kB / 383.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.115, allocations: 16.88 kB / 384 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.1151, allocations: 20.38 kB / 384 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.1155, allocations: 247.8 kB / 384.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.1155, allocations: 3.953 kB / 384.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.1156, allocations: 11.94 kB / 384.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1156, allocations: 4 kB / 384.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.1159, allocations: 153.9 kB / 384.4 MB, free: 9.859 MB / 350.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.001308/0.1172, allocations: 0.6335 MB / 385 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.1176, allocations: 134.5 kB / 385.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.1178, allocations: 88.91 kB / 385.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1178, allocations: 0 / 385.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.1178, allocations: 38.56 kB / 385.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.022e-06/0.1178, allocations: 0 / 385.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001288/0.1191, allocations: 341.2 kB / 385.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.1192, allocations: 55.34 kB / 385.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000194/0.1194, allocations: 178.7 kB / 385.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.1194, allocations: 29.7 kB / 385.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1195, allocations: 148.4 kB / 386 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.1196, allocations: 67.42 kB / 386.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.618e-05/0.1196, allocations: 37.7 kB / 386.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1198, allocations: 326.8 kB / 386.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.1199, allocations: 51.92 kB / 386.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.12, allocations: 73.69 kB / 386.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002445/0.1203, allocations: 124.6 kB / 386.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1203, allocations: 4 kB / 386.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004209/0.1207, allocations: 214.3 kB / 386.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1207, allocations: 4 kB / 386.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1207, allocations: 0 / 386.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.1221, allocations: 228.5 kB / 387.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.1222, allocations: 31.92 kB / 387.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005335/0.1228, allocations: 0.607 MB / 387.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.1229, allocations: 15.92 kB / 387.8 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.1229, allocations: 11.98 kB / 387.8 MB, free: 6.289 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.0001303/0.123, allocations: 141.7 kB / 387.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.1231, allocations: 23.84 kB / 388 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.1236, allocations: 220.2 kB / 388.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1236, allocations: 3.938 kB / 388.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1236, allocations: 3.984 kB / 388.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1236, allocations: 0 / 388.2 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008467/0.1244, allocations: 0.4995 MB / 388.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1244, allocations: 8.031 kB / 388.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.1246, allocations: 23.98 kB / 388.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.1257, allocations: 204.5 kB / 388.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.1257, allocations: 11.94 kB / 388.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005102/0.1262, allocations: 0.6187 MB / 389.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1262, allocations: 0 / 389.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008417/0.127, allocations: 424 kB / 390 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.1271, allocations: 19.91 kB / 390 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.1271, allocations: 11.94 kB / 390 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.1272, allocations: 4 kB / 390 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.1273, allocations: 15.97 kB / 390 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.1273, allocations: 4 kB / 390 MB, free: 3.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1274, allocations: 131.2 kB / 390.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1274, allocations: 4.062 kB / 390.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003242/0.1277, allocations: 67.77 kB / 390.2 MB, free: 3.77 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.0001515/0.1279, allocations: 107.2 kB / 390.3 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004008/0.1283, allocations: 139.9 kB / 390.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1283, allocations: 96 / 390.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.1285, allocations: 79.8 kB / 390.5 MB, free: 3.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1288, allocations: 35.33 kB / 390.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.1298, allocations: 0.5568 MB / 391.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.1299, allocations: 134 kB / 391.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.626e-05/0.13, allocations: 13.47 kB / 391.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.13, allocations: 20.5 kB / 391.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.13, allocations: 0 / 391.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of Templates: time 0.005947/0.136, allocations: 2.234 MB / 393.5 MB, free: 452 kB / 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 -s ida -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: 4.438901589019224]