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.001219/0.001219, allocations: 102.6 kB / 17.16 MB, free: 6.316 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.001189/0.001189, allocations: 190 kB / 18.07 MB, free: 5.414 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.271/1.271, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001152/0.001152, allocations: 51.92 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09241/0.09357, allocations: 46.62 MB / 326.7 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.003781/0.0974, allocations: 2.184 MB / 328.9 MB, free: 2.598 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008828/0.09832, allocations: 0.4918 MB / 329.4 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.764e-05/0.09841, allocations: 0 / 329.4 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.09858, allocations: 23.86 kB / 329.4 MB, free: 2.074 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.831e-05/0.09868, allocations: 35.69 kB / 329.4 MB, free: 2.039 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.09887, allocations: 31.95 kB / 329.5 MB, free: 2.008 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.09904, allocations: 151.3 kB / 329.6 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.09921, allocations: 49.47 kB / 329.7 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.09933, allocations: 59.66 kB / 329.7 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.09944, allocations: 63.7 kB / 329.8 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.09948, allocations: 12 kB / 329.8 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.187e-05/0.09955, allocations: 15.98 kB / 329.8 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.916e-05/0.09959, allocations: 23.92 kB / 329.8 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.09967, allocations: 71.61 kB / 329.9 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.09987, allocations: 155.7 kB / 330 MB, free: 1.414 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.09988, allocations: 0 / 330 MB, free: 1.414 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.09989, allocations: 0 / 330 MB, free: 1.414 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.0999, allocations: 0 / 330 MB, free: 1.414 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.0005802/0.1005, allocations: 443.2 kB / 330.5 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1005, allocations: 12.03 kB / 330.5 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.1006, allocations: 42.75 kB / 330.5 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.1007, allocations: 20.73 kB / 330.6 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1009, allocations: 200.1 kB / 330.8 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1009, allocations: 8.609 kB / 330.8 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.101, allocations: 12.38 kB / 330.8 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.1012, allocations: 119.6 kB / 330.9 MB, free: 488 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1012, allocations: 4 kB / 330.9 MB, free: 484 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.1012, allocations: 8 kB / 330.9 MB, free: 476 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1012, allocations: 7.984 kB / 330.9 MB, free: 468 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.1014, allocations: 76.66 kB / 331 MB, free: 392 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007964/0.1022, allocations: 0.6088 MB / 331.6 MB, free: 15.69 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.1025, allocations: 82.62 kB / 331.7 MB, free: 15.6 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.1026, allocations: 28.98 kB / 331.7 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.1026, allocations: 7.922 kB / 331.7 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.1026, allocations: 30.56 kB / 331.7 MB, free: 15.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1027, allocations: 4 kB / 331.7 MB, free: 15.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006803/0.1033, allocations: 263.2 kB / 332 MB, free: 15.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.1034, allocations: 55.41 kB / 332.1 MB, free: 15.17 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.1035, allocations: 149.5 kB / 332.2 MB, free: 15.01 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1035, allocations: 29.7 kB / 332.2 MB, free: 14.98 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.1036, allocations: 124 kB / 332.3 MB, free: 14.85 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.1036, allocations: 19.66 kB / 332.4 MB, free: 14.83 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.1037, allocations: 25.7 kB / 332.4 MB, free: 14.8 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1038, allocations: 318.8 kB / 332.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.1039, allocations: 24 kB / 332.7 MB, free: 14.46 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.686e-05/0.1039, allocations: 50.48 kB / 332.8 MB, free: 14.4 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.1041, allocations: 70.48 kB / 332.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1041, allocations: 0 / 332.8 MB, free: 14.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002694/0.1044, allocations: 138.3 kB / 333 MB, free: 14.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.1044, allocations: 8 kB / 333 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1044, allocations: 0 / 333 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.1046, allocations: 36.83 kB / 333 MB, free: 14.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.653e-05/0.1046, allocations: 11.94 kB / 333 MB, free: 14.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.1062, allocations: 1.521 MB / 334.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.635e-05/0.1063, allocations: 15.95 kB / 334.6 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.1063, allocations: 4 kB / 334.6 MB, free: 12.45 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 8.969e-05/0.1064, allocations: 117.8 kB / 334.7 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.1064, allocations: 7.906 kB / 334.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.1064, allocations: 20.66 kB / 334.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1064, allocations: 0 / 334.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1065, allocations: 3.984 kB / 334.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1065, allocations: 0 / 334.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.1067, allocations: 209.6 kB / 334.9 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1067, allocations: 0 / 334.9 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.1067, allocations: 4 kB / 334.9 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/0.1069, allocations: 36.83 kB / 335 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1069, allocations: 7.938 kB / 335 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.1081, allocations: 1.499 MB / 336.5 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1081, allocations: 0 / 336.5 MB, free: 10.35 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.1084, allocations: 232.1 kB / 336.7 MB, free: 10.11 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.1084, allocations: 85 kB / 336.8 MB, free: 10 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1085, allocations: 7.938 kB / 336.8 MB, free: 9.996 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1086, allocations: 7.984 kB / 336.8 MB, free: 9.988 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.1086, allocations: 7.938 kB / 336.8 MB, free: 9.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.1086, allocations: 4 kB / 336.8 MB, free: 9.977 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.893e-05/0.1087, allocations: 107.2 kB / 336.9 MB, free: 9.871 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1087, allocations: 4 kB / 336.9 MB, free: 9.867 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.1091, allocations: 39.94 kB / 337 MB, free: 9.828 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.00053/0.1096, allocations: 0.7484 MB / 337.7 MB, free: 9.051 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003475/0.11, allocations: 186.5 kB / 337.9 MB, free: 8.855 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.11, allocations: 0 / 337.9 MB, free: 8.855 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.1102, allocations: 162.6 kB / 338 MB, free: 8.684 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.1105, allocations: 11.98 kB / 338.1 MB, free: 8.672 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.1123, allocations: 1.748 MB / 339.8 MB, free: 6.828 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.1126, allocations: 0.7118 MB / 340.5 MB, free: 6.09 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.631e-05/0.1126, allocations: 8.422 kB / 340.5 MB, free: 6.082 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.1127, allocations: 35.42 kB / 340.6 MB, free: 6.047 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1127, allocations: 0 / 340.6 MB, free: 6.047 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.092/1.205, allocations: 2.731 MB / 343.3 MB, free: 3.285 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/1.205, allocations: 239.4 kB / 343.5 MB, free: 3.023 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.58/3.785, allocations: 0 / 343.5 MB, free: 3.023 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingResistor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches