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: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001211, allocations: 102.1 kB / 16.94 MB, free: 5.984 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.001713/0.001713, allocations: 179.4 kB / 17.82 MB, free: 5.652 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.896/1.896, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004869/0.0004871, allocations: 12 kB / 280.7 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1028, allocations: 47.57 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008273/0.1111, allocations: 6.318 MB / 334.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005138/0.1163, allocations: 2.5 MB / 337.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.1176, allocations: 27.94 kB / 337.2 MB, free: 11.2 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.1194, allocations: 433.9 kB / 337.6 MB, free: 10.78 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.1213, allocations: 470.6 kB / 338.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007387/0.122, allocations: 151.8 kB / 338.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002109/0.1241, allocations: 0.8896 MB / 339.1 MB, free: 9.277 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007955/0.125, allocations: 396 kB / 339.5 MB, free: 8.871 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006381/0.1256, allocations: 362.6 kB / 339.8 MB, free: 8.516 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006976/0.1263, allocations: 406.1 kB / 340.2 MB, free: 8.117 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001768/0.1265, allocations: 56 kB / 340.3 MB, free: 8.062 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003701/0.1269, allocations: 91.97 kB / 340.4 MB, free: 7.973 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.127, allocations: 155.3 kB / 340.5 MB, free: 7.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002675/0.1273, allocations: 225.2 kB / 340.7 MB, free: 7.594 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.1284, allocations: 1.087 MB / 341.8 MB, free: 6.504 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1284, allocations: 0 / 341.8 MB, free: 6.504 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1285, allocations: 0 / 341.8 MB, free: 6.504 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.1285, allocations: 0 / 341.8 MB, free: 6.504 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.002059/0.1305, allocations: 1.157 MB / 343 MB, free: 5.297 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1306, allocations: 8.031 kB / 343 MB, free: 5.289 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004087/0.131, allocations: 134.7 kB / 343.1 MB, free: 5.156 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009446/0.132, allocations: 0.6134 MB / 343.7 MB, free: 4.496 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.901e-05/0.1321, allocations: 58 kB / 343.8 MB, free: 4.441 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.1322, allocations: 84 kB / 343.9 MB, free: 4.359 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.1336, allocations: 0.8106 MB / 344.7 MB, free: 3.516 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.1336, allocations: 11.89 kB / 344.7 MB, free: 3.504 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/0.1337, allocations: 36 kB / 344.7 MB, free: 3.469 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.1337, allocations: 20 kB / 344.8 MB, free: 3.449 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.1348, allocations: 0.5504 MB / 345.3 MB, free: 2.902 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004502/0.1393, allocations: 3.543 MB / 348.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.1399, allocations: 250 kB / 349.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.1399, allocations: 4 kB / 349.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.14, allocations: 38.56 kB / 349.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.775e-06/0.14, allocations: 0 / 349.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002298/0.1423, allocations: 1.11 MB / 350.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.1424, allocations: 81.11 kB / 350.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008335/0.1432, allocations: 0.696 MB / 351 MB, free: 12.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.1432, allocations: 33.7 kB / 351.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.1436, allocations: 0.5174 MB / 351.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.092e-05/0.1437, allocations: 102.5 kB / 351.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.1437, allocations: 12 kB / 351.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1439, allocations: 382.8 kB / 352.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.1442, allocations: 137.2 kB / 352.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004615/0.1446, allocations: 450.2 kB / 352.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.145, allocations: 212.1 kB / 352.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.145, allocations: 4 kB / 352.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001201/0.1462, allocations: 0.6575 MB / 353.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.1463, allocations: 8 kB / 353.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.1463, allocations: 12 kB / 353.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.1465, allocations: 36.84 kB / 353.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004703/0.147, allocations: 156.2 kB / 353.7 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/0.148, allocations: 1.292 MB / 355 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005503/0.1486, allocations: 52.12 kB / 355 MB, free: 8.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.1486, allocations: 32 kB / 355.1 MB, free: 8.453 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004478/0.1491, allocations: 241.5 kB / 355.3 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.1492, allocations: 86.95 kB / 355.4 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007976/0.15, allocations: 342 kB / 355.7 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.15, allocations: 4 kB / 355.7 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.15, allocations: 4 kB / 355.7 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.15, allocations: 0 / 355.7 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.152, allocations: 1.097 MB / 356.8 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.152, allocations: 7.938 kB / 356.8 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.1523, allocations: 72.12 kB / 356.9 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001154/0.1525, allocations: 28.8 kB / 356.9 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.1525, allocations: 4 kB / 357 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.1537, allocations: 1.284 MB / 358.2 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1537, allocations: 0 / 358.2 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.1548, allocations: 0.6781 MB / 358.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.1551, allocations: 168.2 kB / 359.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/0.1552, allocations: 11.98 kB / 359.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.1555, allocations: 23.98 kB / 359.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/0.1556, allocations: 35.86 kB / 359.1 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.1556, allocations: 8 kB / 359.2 MB, free: 4.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005983/0.1562, allocations: 479 kB / 359.6 MB, free: 3.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1562, allocations: 0 / 359.6 MB, free: 3.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007121/0.1569, allocations: 168 kB / 359.8 MB, free: 3.406 MB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002634/0.1572, allocations: 115.1 kB / 359.9 MB, free: 3.285 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001129/0.1583, allocations: 488.6 kB / 360.4 MB, free: 2.797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.1584, allocations: 8.25 kB / 360.4 MB, free: 2.789 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.1588, allocations: 242.5 kB / 360.6 MB, free: 2.539 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/0.1598, allocations: 171.8 kB / 360.8 MB, free: 2.367 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.1623, allocations: 1.797 MB / 362.6 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.1629, allocations: 0.976 MB / 363.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003537/0.1633, allocations: 98.02 kB / 363.7 MB, free: 15.42 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.234e-05/0.1634, allocations: 47.44 kB / 363.7 MB, free: 15.37 MB / 318.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1634, allocations: 0 / 363.7 MB, free: 15.37 MB / 318.1 MB Notification: Performance of Templates: time 0.01602/0.1794, allocations: 7.106 MB / 370.8 MB, free: 8.27 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile Environment - environmentSimulation: (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 & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/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