Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",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.00121/0.00121, allocations: 111.9 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.001264/0.001264, 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.217/1.217, allocations: 205.1 MB / 224 MB, free: 12.46 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.00109/0.00109, allocations: 48.14 kB / 280.3 MB, free: 3.398 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08289/0.08399, allocations: 46.63 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008358/0.09238, allocations: 7.891 MB / 334.8 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003799/0.09621, allocations: 2.576 MB / 337.4 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005494/0.09681, allocations: 23.94 kB / 337.4 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.09793, allocations: 469.5 kB / 337.8 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006971/0.09864, allocations: 337.5 kB / 338.2 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.09899, allocations: 199.7 kB / 338.4 MB, free: 9.156 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.1, allocations: 1.222 MB / 339.6 MB, free: 7.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000638/0.1007, allocations: 0.5331 MB / 340.1 MB, free: 7.379 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005199/0.1012, allocations: 486 kB / 340.6 MB, free: 6.902 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005244/0.1017, allocations: 0.5211 MB / 341.1 MB, free: 6.379 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.1018, allocations: 112 kB / 341.2 MB, free: 6.27 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002591/0.1021, allocations: 156 kB / 341.4 MB, free: 6.117 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001591/0.1023, allocations: 239.2 kB / 341.6 MB, free: 5.883 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.1027, allocations: 0.5599 MB / 342.2 MB, free: 5.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.1039, allocations: 1.429 MB / 343.6 MB, free: 3.887 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1039, allocations: 4 kB / 343.6 MB, free: 3.883 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1039, allocations: 4 kB / 343.6 MB, free: 3.879 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.1039, allocations: 0 / 343.6 MB, free: 3.879 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001981/0.1059, allocations: 1.309 MB / 344.9 MB, free: 2.516 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.106, allocations: 8.031 kB / 344.9 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/0.1061, allocations: 135.5 kB / 345.1 MB, free: 2.367 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004639/0.1066, allocations: 147.5 kB / 345.2 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008173/0.1074, allocations: 0.6377 MB / 345.8 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.1075, allocations: 66.12 kB / 345.9 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.1076, allocations: 91.89 kB / 346 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.1089, allocations: 0.8145 MB / 346.8 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.1089, allocations: 4 kB / 346.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.109, allocations: 36 kB / 346.8 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.109, allocations: 23.98 kB / 346.9 MB, free: 492 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009931/0.11, allocations: 0.5387 MB / 347.4 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004039/0.1141, allocations: 3.586 MB / 351 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.1146, allocations: 246.7 kB / 351.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.1149, allocations: 116.8 kB / 351.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.1149, allocations: 3.938 kB / 351.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1149, allocations: 38.56 kB / 351.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.843e-06/0.1149, allocations: 0 / 351.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002/0.1169, allocations: 1.063 MB / 352.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.117, allocations: 85.05 kB / 352.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008571/0.1179, allocations: 0.7623 MB / 353.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.1179, allocations: 41.69 kB / 353.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.1182, allocations: 0.5135 MB / 353.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.111e-05/0.1183, allocations: 106.5 kB / 354 MB, free: 9.008 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.1185, allocations: 122.2 kB / 354.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1187, allocations: 382.8 kB / 354.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.1189, allocations: 129.2 kB / 354.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004851/0.1194, allocations: 446.2 kB / 355 MB, free: 7.789 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008725/0.1203, allocations: 0.6257 MB / 355.6 MB, free: 7.016 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1203, allocations: 0 / 355.6 MB, free: 7.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001025/0.1214, allocations: 0.6462 MB / 356.3 MB, free: 6.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.1214, allocations: 11.94 kB / 356.3 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.1214, allocations: 12 kB / 356.3 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/0.1216, allocations: 40.88 kB / 356.3 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004334/0.122, allocations: 147.7 kB / 356.5 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.1231, allocations: 1.394 MB / 357.9 MB, free: 4.609 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004523/0.1235, allocations: 39.98 kB / 357.9 MB, free: 4.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.1236, allocations: 36 kB / 358 MB, free: 4.535 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002874/0.1239, allocations: 241.5 kB / 358.2 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.124, allocations: 75.06 kB / 358.3 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006326/0.1246, allocations: 338.2 kB / 358.6 MB, free: 3.875 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1246, allocations: 7.938 kB / 358.6 MB, free: 3.867 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1246, allocations: 3.938 kB / 358.6 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1247, allocations: 3.984 kB / 358.6 MB, free: 3.859 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.1261, allocations: 1.114 MB / 359.7 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1262, allocations: 0 / 359.7 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.1264, allocations: 59.91 kB / 359.8 MB, free: 2.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.87e-05/0.1265, allocations: 29.06 kB / 359.8 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.1266, allocations: 8.047 kB / 359.8 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008422/0.1274, allocations: 1.386 MB / 361.2 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.1274, allocations: 7.969 kB / 361.2 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008592/0.1283, allocations: 0.5681 MB / 361.8 MB, free: 432 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.1285, allocations: 176.2 kB / 362 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.067e-05/0.1286, allocations: 8 kB / 362 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003374/0.1289, allocations: 23.97 kB / 362 MB, free: 204 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/0.129, allocations: 27.91 kB / 362 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.129, allocations: 12 kB / 362 MB, free: 164 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006188/0.1297, allocations: 0.5186 MB / 362.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1297, allocations: 0 / 362.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006153/0.1303, allocations: 164 kB / 362.7 MB, free: 15.48 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * 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 (28): * Single equations (assignments): 27 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/0.1315, allocations: 1.14 MB / 363.8 MB, free: 14.29 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008808/0.1324, allocations: 0.4886 MB / 364.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1324, allocations: 0 / 364.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.1328, allocations: 240.3 kB / 364.6 MB, free: 13.55 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009476/0.1337, allocations: 175.9 kB / 364.7 MB, free: 13.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008911/0.1426, allocations: 7.255 MB / 372 MB, free: 5.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.1431, allocations: 0.9526 MB / 372.9 MB, free: 4.711 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000353/0.1435, allocations: 98.16 kB / 373 MB, free: 4.613 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/0.1439, allocations: 315.3 kB / 373.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1439, allocations: 0 / 373.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1568/0.3007, allocations: 15.51 MB / 388.9 MB, free: 50.79 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001299/0.3008, allocations: 242.5 kB / 389.1 MB, free: 50.54 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.337, allocations: 3.938 kB / 389.1 MB, free: 50.53 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches