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.001572/0.001573, allocations: 110.2 kB / 18.24 MB, free: 4.766 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.001845/0.001845, allocations: 195.3 kB / 19.19 MB, free: 3.836 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.382/1.382, allocations: 205.1 MB / 225.1 MB, free: 12.32 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.001233/0.001233, allocations: 52.14 kB / 281.3 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08205/0.08329, allocations: 46.63 MB / 328 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008759/0.09207, allocations: 7.916 MB / 335.9 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004269/0.09637, allocations: 2.61 MB / 338.5 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007134/0.09716, allocations: 27.88 kB / 338.5 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.09846, allocations: 0.5009 MB / 339 MB, free: 9.352 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.09948, allocations: 396.8 kB / 339.4 MB, free: 8.961 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004438/0.09994, allocations: 219.6 kB / 339.6 MB, free: 8.746 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.1011, allocations: 1.226 MB / 340.8 MB, free: 7.516 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006828/0.1018, allocations: 0.5292 MB / 341.4 MB, free: 6.969 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005487/0.1023, allocations: 478.1 kB / 341.8 MB, free: 6.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005487/0.1029, allocations: 0.5211 MB / 342.4 MB, free: 5.977 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.103, allocations: 112 kB / 342.5 MB, free: 5.867 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.1033, allocations: 152 kB / 342.6 MB, free: 5.719 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.1035, allocations: 247.1 kB / 342.9 MB, free: 5.477 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004601/0.104, allocations: 0.5599 MB / 343.4 MB, free: 4.914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.1052, allocations: 1.437 MB / 344.9 MB, free: 3.473 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1052, allocations: 0 / 344.9 MB, free: 3.473 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1052, allocations: 0 / 344.9 MB, free: 3.473 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.1053, allocations: 4 kB / 344.9 MB, free: 3.469 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.002046/0.1073, allocations: 1.305 MB / 346.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1074, allocations: 11.89 kB / 346.2 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/0.1078, allocations: 159.5 kB / 346.3 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008495/0.1087, allocations: 0.6376 MB / 347 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5e-05/0.1088, allocations: 62.38 kB / 347 MB, free: 1.203 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.1089, allocations: 91.84 kB / 347.1 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.1102, allocations: 0.8223 MB / 347.9 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.1102, allocations: 0 / 347.9 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.485e-05/0.1103, allocations: 36 kB / 348 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.1103, allocations: 20 kB / 348 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.1114, allocations: 0.5387 MB / 348.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004026/0.1154, allocations: 3.582 MB / 352.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.1159, allocations: 246.5 kB / 352.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.1162, allocations: 124.7 kB / 352.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1162, allocations: 4 kB / 352.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.1162, allocations: 30.56 kB / 352.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of pre-optimization done (n=26): time 2.234e-06/0.1162, allocations: 0 / 352.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002069/0.1183, allocations: 1.071 MB / 353.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.1184, allocations: 88.98 kB / 353.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009004/0.1193, allocations: 0.7663 MB / 354.4 MB, free: 9.398 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.1193, allocations: 29.7 kB / 354.5 MB, free: 9.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.1197, allocations: 0.5097 MB / 355 MB, free: 8.844 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.008e-05/0.1197, allocations: 114.5 kB / 355.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.1199, allocations: 122.1 kB / 355.2 MB, free: 8.605 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1201, allocations: 382.8 kB / 355.6 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.1204, allocations: 125.2 kB / 355.7 MB, free: 8.102 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005587/0.1209, allocations: 454.2 kB / 356.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008082/0.1218, allocations: 0.6102 MB / 356.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.1218, allocations: 4 kB / 356.8 MB, free: 6.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001089/0.1229, allocations: 0.6423 MB / 357.4 MB, free: 6.094 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1229, allocations: 12 kB / 357.4 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.1229, allocations: 16.06 kB / 357.4 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.1231, allocations: 32.86 kB / 357.5 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.1236, allocations: 151.7 kB / 357.6 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.1246, allocations: 1.39 MB / 359 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004989/0.1251, allocations: 44.02 kB / 359 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/0.1252, allocations: 39.98 kB / 359.1 MB, free: 4.266 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.0003077/0.1255, allocations: 237.5 kB / 359.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.1256, allocations: 71.16 kB / 359.4 MB, free: 3.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006887/0.1263, allocations: 337.8 kB / 359.7 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.1263, allocations: 4 kB / 359.7 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.1263, allocations: 0 / 359.7 MB, free: 3.609 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.1263, allocations: 3.938 kB / 359.7 MB, free: 3.605 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.1279, allocations: 1.121 MB / 360.8 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.128, allocations: 0 / 360.8 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.1283, allocations: 67.89 kB / 360.9 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.8e-05/0.1284, allocations: 25.08 kB / 360.9 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.1284, allocations: 11.98 kB / 360.9 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009813/0.1294, allocations: 1.374 MB / 362.3 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1294, allocations: 0 / 362.3 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009527/0.1304, allocations: 0.5842 MB / 362.9 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.1306, allocations: 176.3 kB / 363.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.1307, allocations: 8 kB / 363.1 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.1311, allocations: 19.98 kB / 363.1 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.1312, allocations: 31.84 kB / 363.1 MB, free: 15.9 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.1312, allocations: 12 kB / 363.1 MB, free: 15.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000692/0.1319, allocations: 0.5225 MB / 363.7 MB, free: 15.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1319, allocations: 0 / 363.7 MB, free: 15.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006789/0.1326, allocations: 164 kB / 363.8 MB, free: 15.21 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.0002066/0.1328, allocations: 111.2 kB / 363.9 MB, free: 15.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009786/0.1338, allocations: 496.7 kB / 364.4 MB, free: 14.6 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1338, allocations: 0 / 364.4 MB, free: 14.6 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.1342, allocations: 242.5 kB / 364.7 MB, free: 14.35 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.1352, allocations: 204.9 kB / 364.9 MB, free: 14.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.1377, allocations: 1.504 MB / 366.4 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.1383, allocations: 0.9524 MB / 367.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.1385, allocations: 51.44 kB / 367.4 MB, free: 11.56 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1385, allocations: 0 / 367.4 MB, free: 11.56 MB / 318.1 MB Notification: Performance of Templates: time 0.1538/0.2922, allocations: 13.79 MB / 381.2 MB, free: 52.98 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (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) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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