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: 102 kB / 17.16 MB, free: 6.32 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.001235/0.001235, 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.293/1.293, allocations: 205.1 MB / 223.9 MB, free: 12.39 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.001247/0.001247, allocations: 47.92 kB / 280.1 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08865/0.0899, allocations: 46.62 MB / 326.7 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008779/0.09872, allocations: 7.888 MB / 334.6 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00493/0.1037, allocations: 2.595 MB / 337.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.1048, allocations: 23.94 kB / 337.2 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.1065, allocations: 453.6 kB / 337.7 MB, free: 9.766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.1078, allocations: 345.5 kB / 338 MB, free: 9.426 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006055/0.1084, allocations: 187.9 kB / 338.2 MB, free: 9.242 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001526/0.11, allocations: 1.167 MB / 339.3 MB, free: 8.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007772/0.1107, allocations: 475.8 kB / 339.8 MB, free: 7.586 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007196/0.1115, allocations: 438.1 kB / 340.2 MB, free: 7.156 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000791/0.1123, allocations: 0.4938 MB / 340.7 MB, free: 6.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.1125, allocations: 76 kB / 340.8 MB, free: 6.586 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.1129, allocations: 112 kB / 340.9 MB, free: 6.477 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.1131, allocations: 195.1 kB / 341.1 MB, free: 6.285 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006316/0.1138, allocations: 0.5285 MB / 341.6 MB, free: 5.754 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.1151, allocations: 1.398 MB / 343 MB, free: 4.352 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.1151, allocations: 4 kB / 343 MB, free: 4.348 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1151, allocations: 0 / 343 MB, free: 4.348 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.582e-05/0.1152, allocations: 4 kB / 343 MB, free: 4.344 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.002546/0.1177, allocations: 1.301 MB / 344.3 MB, free: 2.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1178, allocations: 8.031 kB / 344.3 MB, free: 2.98 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.1179, allocations: 135.5 kB / 344.5 MB, free: 2.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005009/0.1184, allocations: 155.4 kB / 344.6 MB, free: 2.688 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009667/0.1194, allocations: 0.6415 MB / 345.3 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.1195, allocations: 62.12 kB / 345.3 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.1196, allocations: 87.91 kB / 345.4 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.121, allocations: 0.8223 MB / 346.2 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.121, allocations: 0 / 346.2 MB, free: 1.004 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.181e-05/0.1211, allocations: 36 kB / 346.3 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.1211, allocations: 27.98 kB / 346.3 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.1222, allocations: 0.5387 MB / 346.8 MB, free: 412 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004179/0.1264, allocations: 3.578 MB / 350.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.1269, allocations: 242.6 kB / 350.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.1271, allocations: 120.8 kB / 350.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1272, allocations: 4 kB / 350.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.1272, allocations: 34.56 kB / 350.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.1272, allocations: 0 / 350.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001977/0.1292, allocations: 1.075 MB / 351.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.1293, allocations: 85.05 kB / 352 MB, free: 10.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008869/0.1302, allocations: 0.7585 MB / 352.7 MB, free: 10.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.1302, allocations: 29.7 kB / 352.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003303/0.1305, allocations: 0.5213 MB / 353.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.327e-05/0.1306, allocations: 106.5 kB / 353.4 MB, free: 9.477 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.1308, allocations: 122.1 kB / 353.5 MB, free: 9.352 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1309, allocations: 382.8 kB / 353.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.1312, allocations: 133.2 kB / 354 MB, free: 8.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004333/0.1317, allocations: 450.2 kB / 354.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007301/0.1324, allocations: 0.6141 MB / 355.1 MB, free: 7.488 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1324, allocations: 4 kB / 355.1 MB, free: 7.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001022/0.1334, allocations: 0.6376 MB / 355.7 MB, free: 6.836 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.1335, allocations: 15.94 kB / 355.7 MB, free: 6.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.1335, allocations: 8.906 kB / 355.7 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.1336, allocations: 40.84 kB / 355.8 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004465/0.1341, allocations: 151.7 kB / 355.9 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009246/0.135, allocations: 1.291 MB / 357.2 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004906/0.1355, allocations: 43.89 kB / 357.2 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.1356, allocations: 35.98 kB / 357.3 MB, free: 5.113 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.0003128/0.1359, allocations: 249.6 kB / 357.5 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.136, allocations: 71.16 kB / 357.6 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006569/0.1367, allocations: 338 kB / 357.9 MB, free: 4.449 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1367, allocations: 4 kB / 357.9 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1367, allocations: 0 / 357.9 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1367, allocations: 0 / 357.9 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.1383, allocations: 1.121 MB / 359 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.1384, allocations: 4 kB / 359.1 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002853/0.1386, allocations: 67.83 kB / 359.1 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.101e-05/0.1387, allocations: 16.86 kB / 359.1 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.1388, allocations: 11.98 kB / 359.1 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008479/0.1396, allocations: 1.28 MB / 360.4 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1396, allocations: 4.031 kB / 360.4 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008958/0.1405, allocations: 0.576 MB / 361 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.1408, allocations: 176.2 kB / 361.2 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.331e-05/0.1409, allocations: 11.98 kB / 361.2 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.1412, allocations: 23.92 kB / 361.2 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.1413, allocations: 23.91 kB / 361.2 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1413, allocations: 16 kB / 361.3 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006623/0.142, allocations: 0.5186 MB / 361.8 MB, free: 332 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.142, allocations: 0 / 361.8 MB, free: 332 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006379/0.1427, allocations: 164 kB / 361.9 MB, free: 168 kB / 302.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.001253/0.1439, allocations: 1.14 MB / 363.1 MB, free: 14.97 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008635/0.1448, allocations: 489.5 kB / 363.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1448, allocations: 0 / 363.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003717/0.1452, allocations: 239.1 kB / 363.8 MB, free: 14.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.1462, allocations: 171.4 kB / 363.9 MB, free: 14.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009911/0.1561, allocations: 7.247 MB / 371.2 MB, free: 6.398 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.1568, allocations: 0.9526 MB / 372.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004186/0.1572, allocations: 94.17 kB / 372.2 MB, free: 5.324 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/0.1576, allocations: 315.3 kB / 372.5 MB, free: 5.016 MB / 318.1 MB Notification: Performance of SimCode: time 8.02e-07/0.1576, allocations: 0 / 372.5 MB, free: 5.016 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1536/0.3112, allocations: 15.14 MB / 387.7 MB, free: 49.82 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001561/0.3114, allocations: 240.8 kB / 387.9 MB, free: 49.57 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/2.352, allocations: 6.109 kB / 387.9 MB, free: 49.56 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