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.001623/0.001623, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.001829/0.001829, allocations: 210.5 kB / 20.75 MB, free: 2.27 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.432/1.432, allocations: 230.4 MB / 254 MB, free: 15.17 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 67.89 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1059, allocations: 53.37 MB / 426.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004203/0.1101, allocations: 2.558 MB / 428.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1113, allocations: 0.6972 MB / 429.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1114, allocations: 7.938 kB / 429.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.1116, allocations: 35.64 kB / 429.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.1117, allocations: 75.34 kB / 429.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.112, allocations: 99.75 kB / 429.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003074/0.1123, allocations: 278.7 kB / 430.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.1125, allocations: 64.36 kB / 430.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.1127, allocations: 111.6 kB / 430.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.1128, allocations: 119.5 kB / 430.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.1129, allocations: 28 kB / 430.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.098e-05/0.113, allocations: 35.98 kB / 430.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.113, allocations: 47.84 kB / 430.5 MB, free: 484 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1131, allocations: 127.4 kB / 430.6 MB, free: 356 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.1135, allocations: 286.8 kB / 430.9 MB, free: 68 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1135, allocations: 8 kB / 430.9 MB, free: 60 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1135, allocations: 0 / 430.9 MB, free: 60 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.1135, allocations: 0 / 430.9 MB, free: 60 kB / 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.000862/0.1144, allocations: 0.5338 MB / 431.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1144, allocations: 8.031 kB / 431.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.577e-05/0.1145, allocations: 58.67 kB / 431.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.1146, allocations: 40.73 kB / 431.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.115, allocations: 248 kB / 431.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.115, allocations: 12.81 kB / 431.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/0.115, allocations: 24.38 kB / 431.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.1154, allocations: 187.4 kB / 432 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1154, allocations: 4 kB / 432 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.1154, allocations: 8 kB / 432 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.1154, allocations: 4 kB / 432 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.1157, allocations: 157.6 kB / 432.2 MB, free: 14.68 MB / 366.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.001352/0.1171, allocations: 0.9338 MB / 433.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.1174, allocations: 138.5 kB / 433.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.1176, allocations: 92.84 kB / 433.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.1176, allocations: 4 kB / 433.3 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1176, allocations: 38.5 kB / 433.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.1176, allocations: 3.938 kB / 433.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00127/0.1189, allocations: 417.3 kB / 433.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.017e-05/0.119, allocations: 55.41 kB / 433.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.1191, allocations: 180 kB / 434 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.1192, allocations: 29.7 kB / 434.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.949e-05/0.1193, allocations: 152.3 kB / 434.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.1193, allocations: 63.44 kB / 434.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-05/0.1194, allocations: 37.7 kB / 434.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1195, allocations: 330.8 kB / 434.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.1196, allocations: 55.97 kB / 434.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1198, allocations: 72.69 kB / 434.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.12, allocations: 124.4 kB / 434.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.12, allocations: 4 kB / 434.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004167/0.1204, allocations: 214.3 kB / 435.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1204, allocations: 8 kB / 435.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1205, allocations: 3.938 kB / 435.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.1218, allocations: 212.6 kB / 435.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.1219, allocations: 35.97 kB / 435.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005291/0.1225, allocations: 0.6148 MB / 436 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1226, allocations: 11.89 kB / 436 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.1226, allocations: 8 kB / 436 MB, free: 10.64 MB / 366.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.0001446/0.1227, allocations: 129.8 kB / 436.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.1228, allocations: 19.89 kB / 436.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.1233, allocations: 224.3 kB / 436.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.1233, allocations: 8 kB / 436.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1233, allocations: 0 / 436.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1233, allocations: 0 / 436.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009078/0.1242, allocations: 0.5956 MB / 436.9 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1242, allocations: 3.938 kB / 436.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.1243, allocations: 35.95 kB / 437 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/0.1254, allocations: 200.6 kB / 437.2 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.1254, allocations: 3.938 kB / 437.2 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004891/0.1259, allocations: 0.6187 MB / 437.8 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1259, allocations: 3.938 kB / 437.8 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008359/0.1267, allocations: 427.5 kB / 438.2 MB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.1268, allocations: 104.9 kB / 438.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/0.1268, allocations: 12.06 kB / 438.3 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.127, allocations: 8 kB / 438.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.127, allocations: 11.92 kB / 438.4 MB, free: 8.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.127, allocations: 4 kB / 438.4 MB, free: 8.105 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.1271, allocations: 136.1 kB / 438.5 MB, free: 7.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1271, allocations: 0 / 438.5 MB, free: 7.973 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.1274, allocations: 59.89 kB / 438.6 MB, free: 7.914 MB / 366.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.001164/0.1286, allocations: 0.9483 MB / 439.5 MB, free: 6.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003918/0.129, allocations: 154.6 kB / 439.6 MB, free: 6.781 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.129, allocations: 0 / 439.6 MB, free: 6.781 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.1292, allocations: 75.89 kB / 439.7 MB, free: 6.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1295, allocations: 27.98 kB / 439.8 MB, free: 6.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.1326, allocations: 2.333 MB / 442.1 MB, free: 4.254 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003646/0.1329, allocations: 0.7397 MB / 442.8 MB, free: 3.488 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.266e-05/0.133, allocations: 13.53 kB / 442.8 MB, free: 3.473 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.832e-05/0.1331, allocations: 59.42 kB / 442.9 MB, free: 3.414 MB / 366.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1331, allocations: 0 / 442.9 MB, free: 3.414 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2155/0.3486, allocations: 4.829 MB / 447.7 MB, free: 24.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.64, allocations: 5.547 kB / 447.7 MB, free: 24.78 MB / 366.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 Modelica_trunk_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.csv","/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: 14.183669868041761]