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.001564/0.001564, allocations: 101.8 kB / 16.5 MB, free: 6.645 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.001547/0.001547, allocations: 194.1 kB / 17.42 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.418/1.418, allocations: 222.9 MB / 241.1 MB, free: 13.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001062/0.001062, allocations: 48.3 kB / 300.1 MB, free: 5.988 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.1005, allocations: 49.45 MB / 349.5 MB, free: 4.527 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.004669/0.1052, allocations: 2.542 MB / 352.1 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1069, allocations: 0.6583 MB / 352.7 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.1072, allocations: 4 kB / 352.7 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.1075, allocations: 31.77 kB / 352.8 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002496/0.1078, allocations: 59.53 kB / 352.8 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.1082, allocations: 71.86 kB / 352.9 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000386/0.1086, allocations: 262.8 kB / 353.1 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.1088, allocations: 80.72 kB / 353.2 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.1091, allocations: 99.64 kB / 353.3 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.1093, allocations: 111.4 kB / 353.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.345e-05/0.1093, allocations: 19.98 kB / 353.4 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1094, allocations: 24 kB / 353.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.1095, allocations: 47.83 kB / 353.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.1096, allocations: 111.4 kB / 353.6 MB, free: 396 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.11, allocations: 263.3 kB / 353.9 MB, free: 132 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.11, allocations: 0 / 353.9 MB, free: 132 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.11, allocations: 0 / 353.9 MB, free: 132 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.11, allocations: 8 kB / 353.9 MB, free: 124 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.001003/0.1111, allocations: 0.5302 MB / 354.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1111, allocations: 8.031 kB / 354.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.972e-05/0.1112, allocations: 54.73 kB / 354.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.263e-05/0.1113, allocations: 28.66 kB / 354.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.1116, allocations: 239.8 kB / 354.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1116, allocations: 16.81 kB / 354.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.1117, allocations: 24.3 kB / 354.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.1121, allocations: 199.3 kB / 355 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.1121, allocations: 7.891 kB / 355 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.1121, allocations: 4 kB / 355 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1121, allocations: 8 kB / 355 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.1125, allocations: 153.7 kB / 355.1 MB, free: 14.77 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.001492/0.114, allocations: 0.9297 MB / 356.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000345/0.1143, allocations: 142.6 kB / 356.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.1146, allocations: 104.8 kB / 356.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.1146, allocations: 3.984 kB / 356.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.1147, allocations: 30.56 kB / 356.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.873e-06/0.1147, allocations: 0 / 356.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.001335/0.116, allocations: 423.3 kB / 356.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.1161, allocations: 59.34 kB / 356.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1163, allocations: 179.2 kB / 357 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.1163, allocations: 29.7 kB / 357 MB, free: 12.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1164, allocations: 148.2 kB / 357.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.332e-05/0.1165, allocations: 59.11 kB / 357.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/0.1165, allocations: 37.7 kB / 357.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1167, allocations: 326.8 kB / 357.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1168, allocations: 55.97 kB / 357.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.1169, allocations: 69.69 kB / 357.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.1172, allocations: 117.7 kB / 357.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1172, allocations: 3.984 kB / 357.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004216/0.1176, allocations: 221 kB / 358 MB, free: 11.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1176, allocations: 8.031 kB / 358 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.1177, allocations: 3.938 kB / 358 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/0.1191, allocations: 220.5 kB / 358.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1193, allocations: 43.95 kB / 358.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005181/0.1198, allocations: 0.6069 MB / 358.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.1199, allocations: 15.88 kB / 358.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.1199, allocations: 8 kB / 358.9 MB, free: 10.71 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.000139/0.1201, allocations: 133.8 kB / 359.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.1201, allocations: 19.75 kB / 359.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000492/0.1206, allocations: 228.3 kB / 359.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1207, allocations: 0 / 359.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1207, allocations: 3.938 kB / 359.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1207, allocations: 3.984 kB / 359.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008961/0.1216, allocations: 0.5965 MB / 359.9 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1216, allocations: 7.969 kB / 359.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.1218, allocations: 27.98 kB / 360 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001152/0.1229, allocations: 204.6 kB / 360.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.123, allocations: 7.984 kB / 360.2 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004797/0.1234, allocations: 0.6225 MB / 360.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1235, allocations: 0 / 360.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008382/0.1243, allocations: 424.8 kB / 361.2 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.934e-05/0.1244, allocations: 96.95 kB / 361.3 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.1244, allocations: 4 kB / 361.3 MB, free: 8.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.1246, allocations: 7.984 kB / 361.3 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.42e-05/0.1246, allocations: 15.98 kB / 361.3 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.1247, allocations: 4 kB / 361.3 MB, free: 8.184 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000105/0.1248, allocations: 131.2 kB / 361.4 MB, free: 8.055 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.303e-06/0.1248, allocations: 0 / 361.4 MB, free: 8.055 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.1251, allocations: 63.78 kB / 361.5 MB, free: 7.992 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.001163/0.1263, allocations: 0.9723 MB / 362.5 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003895/0.1267, allocations: 151.8 kB / 362.6 MB, free: 6.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1267, allocations: 0 / 362.6 MB, free: 6.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.1269, allocations: 83.89 kB / 362.7 MB, free: 6.758 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.1273, allocations: 32.16 kB / 362.7 MB, free: 6.727 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.1303, allocations: 2.398 MB / 365.1 MB, free: 4.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1306, allocations: 0.7361 MB / 365.9 MB, free: 3.469 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.525e-05/0.1307, allocations: 17.55 kB / 365.9 MB, free: 3.453 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/0.1308, allocations: 59.41 kB / 366 MB, free: 3.395 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1308, allocations: 0 / 366 MB, free: 3.395 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2209/0.3517, allocations: 4.395 MB / 370.4 MB, free: 25.32 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.352, allocations: 234.5 kB / 370.6 MB, free: 25.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/2.313, allocations: 0.625 kB / 370.6 MB, free: 25.07 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