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.001466/0.001466, allocations: 114 kB / 17.28 MB, free: 6.219 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.001173/0.001173, allocations: 189.3 kB / 18.2 MB, free: 5.297 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.514/1.514, allocations: 205.1 MB / 224.1 MB, free: 12.45 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.00132/0.00132, allocations: 55.91 kB / 280.2 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1096, allocations: 46.63 MB / 326.9 MB, free: 4.707 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingResistor): time 0.004078/0.1137, allocations: 2.185 MB / 329.1 MB, free: 2.5 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1149, allocations: 0.4956 MB / 329.6 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.1151, allocations: 4 kB / 329.6 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001571/0.1153, allocations: 23.84 kB / 329.6 MB, free: 1.969 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.1154, allocations: 31.7 kB / 329.6 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.1157, allocations: 35.95 kB / 329.6 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.1159, allocations: 155.3 kB / 329.8 MB, free: 1.75 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.1161, allocations: 49.47 kB / 329.8 MB, free: 1.699 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.1163, allocations: 67.7 kB / 329.9 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.1164, allocations: 71.7 kB / 330 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.1165, allocations: 12 kB / 330 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.1165, allocations: 16 kB / 330 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.1166, allocations: 27.91 kB / 330 MB, free: 1.508 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.433e-05/0.1167, allocations: 75.61 kB / 330.1 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.1169, allocations: 159.7 kB / 330.3 MB, free: 1.277 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1169, allocations: 4 kB / 330.3 MB, free: 1.273 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1169, allocations: 0 / 330.3 MB, free: 1.273 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.117, allocations: 0 / 330.3 MB, free: 1.273 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.000657/0.1176, allocations: 443.1 kB / 330.7 MB, free: 0.793 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1177, allocations: 8.031 kB / 330.7 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.676e-05/0.1178, allocations: 50.73 kB / 330.8 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.1179, allocations: 20.75 kB / 330.8 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.1181, allocations: 204.1 kB / 331 MB, free: 480 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.1182, allocations: 8.609 kB / 331 MB, free: 472 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.1182, allocations: 12.38 kB / 331 MB, free: 460 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.1185, allocations: 119.6 kB / 331.1 MB, free: 336 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1185, allocations: 4 kB / 331.1 MB, free: 332 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.1185, allocations: 4 kB / 331.1 MB, free: 328 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1185, allocations: 4 kB / 331.1 MB, free: 324 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.1187, allocations: 80.66 kB / 331.2 MB, free: 244 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/0.1196, allocations: 0.6049 MB / 331.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.1199, allocations: 82.62 kB / 331.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.794e-05/0.12, allocations: 28.97 kB / 331.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.12, allocations: 0 / 331.9 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.12, allocations: 46.5 kB / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.1201, allocations: 0 / 332 MB, free: 15.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007218/0.1208, allocations: 263.2 kB / 332.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1208, allocations: 51.41 kB / 332.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.121, allocations: 149.5 kB / 332.4 MB, free: 14.87 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.121, allocations: 33.7 kB / 332.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.1211, allocations: 120 kB / 332.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.1211, allocations: 23.66 kB / 332.6 MB, free: 14.69 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.1212, allocations: 25.64 kB / 332.6 MB, free: 14.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1213, allocations: 318.8 kB / 332.9 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.408e-05/0.1214, allocations: 27.98 kB / 333 MB, free: 14.31 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.1214, allocations: 42.56 kB / 333 MB, free: 14.26 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1216, allocations: 70.5 kB / 333.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1216, allocations: 0 / 333.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003011/0.1219, allocations: 142.3 kB / 333.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.1219, allocations: 4 kB / 333.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1219, allocations: 0 / 333.2 MB, free: 14.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002063/0.1221, allocations: 44.75 kB / 333.3 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.623e-05/0.1222, allocations: 12 kB / 333.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.1238, allocations: 1.7 MB / 335 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.357e-05/0.1239, allocations: 3.906 kB / 335 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1239, allocations: 4 kB / 335 MB, free: 12.12 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 0.0001051/0.1241, allocations: 125.9 kB / 335.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.1241, allocations: 11.84 kB / 335.1 MB, free: 11.98 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.1241, allocations: 8.719 kB / 335.1 MB, free: 11.97 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1241, allocations: 7.984 kB / 335.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1241, allocations: 0 / 335.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1242, allocations: 0 / 335.1 MB, free: 11.96 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.1244, allocations: 209.6 kB / 335.3 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1244, allocations: 3.938 kB / 335.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.1244, allocations: 4 kB / 335.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/0.1246, allocations: 40.77 kB / 335.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1246, allocations: 4 kB / 335.4 MB, free: 11.65 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.1259, allocations: 1.685 MB / 337.1 MB, free: 9.832 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1259, allocations: 0 / 337.1 MB, free: 9.832 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.1262, allocations: 224.2 kB / 337.3 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.1263, allocations: 81.02 kB / 337.4 MB, free: 9.496 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.1263, allocations: 0 / 337.4 MB, free: 9.496 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.988e-05/0.1264, allocations: 11.98 kB / 337.4 MB, free: 9.484 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.1265, allocations: 7.984 kB / 337.4 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1265, allocations: 4 kB / 337.4 MB, free: 9.473 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.559e-05/0.1265, allocations: 107.3 kB / 337.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1266, allocations: 0 / 337.5 MB, free: 9.367 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003546/0.1269, allocations: 43.84 kB / 337.5 MB, free: 9.324 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.0005713/0.1275, allocations: 0.7521 MB / 338.3 MB, free: 8.543 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004032/0.1279, allocations: 190.6 kB / 338.5 MB, free: 8.344 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1279, allocations: 0 / 338.5 MB, free: 8.344 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.1281, allocations: 158.7 kB / 338.6 MB, free: 8.176 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.1284, allocations: 8.469 kB / 338.6 MB, free: 8.168 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.1304, allocations: 1.757 MB / 340.4 MB, free: 6.312 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1307, allocations: 0.7157 MB / 341.1 MB, free: 5.57 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.602e-05/0.1307, allocations: 4.438 kB / 341.1 MB, free: 5.566 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.129e-05/0.1308, allocations: 31.42 kB / 341.1 MB, free: 5.535 MB / 286.1 MB Notification: Performance of SimCode: time 1.443e-06/0.1308, allocations: 0 / 341.1 MB, free: 5.535 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.1494, allocations: 2.847 MB / 344 MB, free: 2.676 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003123/0.1498, allocations: 231.6 kB / 344.2 MB, free: 2.422 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.029, allocations: 8.062 kB / 344.2 MB, free: 2.414 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