Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 110.9 kB / 16.62 MB, free: 6.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 190 kB / 17.54 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 51.53 kB / 300.2 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0997/0.1009, allocations: 49.44 MB / 349.7 MB, free: 4.672 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004673/0.1057, allocations: 2.55 MB / 352.2 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.1071, allocations: 0.6505 MB / 352.9 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.1073, allocations: 4 kB / 352.9 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.1075, allocations: 27.77 kB / 352.9 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.1078, allocations: 63.47 kB / 353 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.1082, allocations: 71.92 kB / 353 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004137/0.1086, allocations: 270.8 kB / 353.3 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.1089, allocations: 100.2 kB / 353.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002288/0.1091, allocations: 103.7 kB / 353.5 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.1094, allocations: 119.5 kB / 353.6 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.711e-05/0.1094, allocations: 24 kB / 353.7 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1095, allocations: 39.98 kB / 353.7 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.887e-05/0.1096, allocations: 47.84 kB / 353.7 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.1098, allocations: 123.4 kB / 353.9 MB, free: 472 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.1102, allocations: 279.3 kB / 354.1 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.1102, allocations: 0 / 354.1 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1102, allocations: 4 kB / 354.1 MB, free: 188 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.1102, allocations: 0 / 354.1 MB, free: 188 kB / 286.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.001129/0.1114, allocations: 0.5263 MB / 354.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.1114, allocations: 12.03 kB / 354.7 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.521e-05/0.1115, allocations: 58.61 kB / 354.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.069e-05/0.1116, allocations: 40.64 kB / 354.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.1119, allocations: 235.8 kB / 355 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.112, allocations: 12.81 kB / 355 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.681e-05/0.112, allocations: 20.38 kB / 355 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.1125, allocations: 187.4 kB / 355.2 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.1125, allocations: 3.906 kB / 355.2 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.1125, allocations: 12 kB / 355.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.1126, allocations: 4 kB / 355.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.1129, allocations: 153.6 kB / 355.4 MB, free: 14.84 MB / 302.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.001529/0.1145, allocations: 0.9335 MB / 356.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.1148, allocations: 150.6 kB / 356.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.115, allocations: 100.8 kB / 356.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1151, allocations: 4 kB / 356.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.1151, allocations: 38.5 kB / 356.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.854e-06/0.1151, allocations: 0 / 356.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001297/0.1164, allocations: 422 kB / 357 MB, free: 13.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.1165, allocations: 55.41 kB / 357.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.1167, allocations: 179.1 kB / 357.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1167, allocations: 29.7 kB / 357.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1168, allocations: 140.2 kB / 357.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.1169, allocations: 59.11 kB / 357.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.386e-05/0.117, allocations: 37.7 kB / 357.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1171, allocations: 334.8 kB / 357.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1173, allocations: 51.98 kB / 357.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.1174, allocations: 65.69 kB / 357.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.1177, allocations: 133.6 kB / 358.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1177, allocations: 0 / 358.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004208/0.1181, allocations: 225 kB / 358.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1181, allocations: 4 kB / 358.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.1181, allocations: 7.938 kB / 358.3 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.1196, allocations: 216.6 kB / 358.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.1198, allocations: 31.98 kB / 358.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000515/0.1203, allocations: 0.6108 MB / 359.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.1205, allocations: 23.8 kB / 359.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.1205, allocations: 4 kB / 359.2 MB, free: 10.78 MB / 302.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.0001485/0.1207, allocations: 137.8 kB / 359.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.1207, allocations: 23.81 kB / 359.3 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005085/0.1212, allocations: 220.3 kB / 359.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1212, allocations: 4 kB / 359.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1213, allocations: 0 / 359.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.1213, allocations: 0 / 359.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000956/0.1222, allocations: 0.5935 MB / 360.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.1222, allocations: 7.938 kB / 360.2 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.1224, allocations: 27.92 kB / 360.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.1236, allocations: 200.7 kB / 360.4 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.966e-05/0.1236, allocations: 12 kB / 360.4 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004827/0.1241, allocations: 0.6226 MB / 361 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1241, allocations: 0 / 361 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008627/0.125, allocations: 428.8 kB / 361.4 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.474e-05/0.1251, allocations: 88.95 kB / 361.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.1251, allocations: 4 kB / 361.5 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.1253, allocations: 11.98 kB / 361.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.1254, allocations: 11.92 kB / 361.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.1254, allocations: 16.06 kB / 361.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.1255, allocations: 127.2 kB / 361.7 MB, free: 8.117 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1255, allocations: 0 / 361.7 MB, free: 8.117 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.1259, allocations: 55.84 kB / 361.8 MB, free: 8.062 MB / 302.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.001185/0.127, allocations: 0.9735 MB / 362.7 MB, free: 7.059 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004365/0.1275, allocations: 159.8 kB / 362.9 MB, free: 6.902 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1275, allocations: 0 / 362.9 MB, free: 6.902 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.1277, allocations: 88.02 kB / 363 MB, free: 6.816 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.1281, allocations: 30.98 kB / 363 MB, free: 6.789 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.1314, allocations: 2.408 MB / 365.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.1318, allocations: 0.7358 MB / 366.1 MB, free: 3.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.943e-05/0.1319, allocations: 9.562 kB / 366.2 MB, free: 3.512 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.745e-05/0.132, allocations: 63.34 kB / 366.2 MB, free: 3.449 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.132, allocations: 0 / 366.2 MB, free: 3.449 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1765/0.3085, allocations: 4.54 MB / 370.8 MB, free: 26.34 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.3087, allocations: 232.5 kB / 371 MB, free: 26.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/2.386, allocations: 4.281 kB / 371 MB, free: 26.09 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_HeatingRectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingRectifier/HeatingRectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches