Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingResistor,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor",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.001433/0.001433, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001256/0.001257, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 51.92 kB / 280.7 MB, free: 3.094 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09865/0.09999, allocations: 46.64 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.00455/0.1046, allocations: 2.124 MB / 329.5 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1059, allocations: 0.5112 MB / 330 MB, free: 1.719 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.1061, allocations: 4 kB / 330 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.1063, allocations: 23.72 kB / 330 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.1064, allocations: 43.62 kB / 330.1 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.1067, allocations: 43.89 kB / 330.1 MB, free: 1.605 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.1069, allocations: 151.3 kB / 330.3 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.1071, allocations: 61.44 kB / 330.3 MB, free: 1.395 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1073, allocations: 59.73 kB / 330.4 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.1074, allocations: 63.7 kB / 330.5 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.1074, allocations: 12 kB / 330.5 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1076, allocations: 27.98 kB / 330.5 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.585e-05/0.1076, allocations: 27.91 kB / 330.5 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.294e-05/0.1077, allocations: 67.67 kB / 330.6 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.1079, allocations: 167.7 kB / 330.8 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1079, allocations: 0 / 330.8 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.108, allocations: 0 / 330.8 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.108, allocations: 3.938 kB / 330.8 MB, free: 0.9727 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006851/0.1087, allocations: 439.1 kB / 331.2 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.1087, allocations: 12.03 kB / 331.2 MB, free: 496 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.1088, allocations: 42.75 kB / 331.2 MB, free: 444 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.1089, allocations: 16.75 kB / 331.3 MB, free: 428 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1092, allocations: 200.2 kB / 331.4 MB, free: 188 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1093, allocations: 12.55 kB / 331.5 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.1093, allocations: 12.38 kB / 331.5 MB, free: 164 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.1096, allocations: 115.6 kB / 331.6 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1096, allocations: 0 / 331.6 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.1096, allocations: 8 kB / 331.6 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1096, allocations: 0 / 331.6 MB, free: 36 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.1099, allocations: 80.66 kB / 331.7 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009624/0.1108, allocations: 0.6088 MB / 332.3 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.1111, allocations: 90.61 kB / 332.4 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.254e-05/0.1112, allocations: 28.98 kB / 332.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.1113, allocations: 0 / 332.4 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1113, allocations: 34.55 kB / 332.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1113, allocations: 0 / 332.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007383/0.112, allocations: 259.4 kB / 332.7 MB, free: 14.81 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.1121, allocations: 55.41 kB / 332.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.1122, allocations: 145.6 kB / 332.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1123, allocations: 25.7 kB / 332.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/0.1124, allocations: 132 kB / 333 MB, free: 14.43 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/0.1124, allocations: 27.58 kB / 333.1 MB, free: 14.4 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.1124, allocations: 25.7 kB / 333.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1126, allocations: 322.8 kB / 333.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.62e-05/0.1126, allocations: 20 kB / 333.4 MB, free: 14.03 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.184e-05/0.1127, allocations: 50.56 kB / 333.5 MB, free: 13.97 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.1129, allocations: 74.48 kB / 333.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1129, allocations: 0 / 333.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002997/0.1132, allocations: 130.3 kB / 333.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1132, allocations: 4 kB / 333.7 MB, free: 13.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1132, allocations: 4 kB / 333.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002013/0.1135, allocations: 40.89 kB / 333.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.788e-05/0.1135, allocations: 8 kB / 333.7 MB, free: 13.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.1153, allocations: 1.692 MB / 335.4 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-05/0.1154, allocations: 15.92 kB / 335.4 MB, free: 11.85 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.1154, allocations: 4 kB / 335.4 MB, free: 11.84 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 9.571e-05/0.1155, allocations: 117.8 kB / 335.6 MB, free: 11.72 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.1155, allocations: 15.84 kB / 335.6 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.1156, allocations: 8.844 kB / 335.6 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1156, allocations: 0 / 335.6 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1156, allocations: 4 kB / 335.6 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1156, allocations: 11.98 kB / 335.6 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.1158, allocations: 213.6 kB / 335.8 MB, free: 11.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1158, allocations: 3.938 kB / 335.8 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.1159, allocations: 4 kB / 335.8 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001603/0.116, allocations: 36.83 kB / 335.8 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1161, allocations: 0 / 335.8 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.1174, allocations: 1.681 MB / 337.5 MB, free: 9.555 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1174, allocations: 0 / 337.5 MB, free: 9.555 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.1177, allocations: 216.3 kB / 337.7 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.866e-05/0.1178, allocations: 89.02 kB / 337.8 MB, free: 9.219 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.1178, allocations: 0 / 337.8 MB, free: 9.219 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1179, allocations: 12.05 kB / 337.8 MB, free: 9.207 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.118, allocations: 8.031 kB / 337.8 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.118, allocations: 3.984 kB / 337.9 MB, free: 9.195 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.117e-05/0.1181, allocations: 120 kB / 338 MB, free: 9.078 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.645e-06/0.1181, allocations: 0 / 338 MB, free: 9.078 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003654/0.1185, allocations: 47.81 kB / 338 MB, free: 9.031 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 1 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006301/0.1191, allocations: 0.7482 MB / 338.8 MB, free: 8.254 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004395/0.1195, allocations: 186.6 kB / 338.9 MB, free: 8.059 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1196, allocations: 128 / 338.9 MB, free: 8.059 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.1198, allocations: 162.6 kB / 339.1 MB, free: 7.887 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.1201, allocations: 12 kB / 339.1 MB, free: 7.875 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.122, allocations: 1.699 MB / 340.8 MB, free: 6.078 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1224, allocations: 0.7118 MB / 341.5 MB, free: 5.34 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.843e-05/0.1224, allocations: 8.438 kB / 341.5 MB, free: 5.332 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.1225, allocations: 27.42 kB / 341.6 MB, free: 5.305 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1225, allocations: 3.938 kB / 341.6 MB, free: 5.301 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.1459, allocations: 2.952 MB / 344.5 MB, free: 2.289 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.61, allocations: 19.33 kB / 344.5 MB, free: 2.27 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_HeatingResistor.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingResistor/HeatingResistor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches