Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_0_0_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.001832/0.001832, allocations: 109.9 kB / 17.06 MB, free: 5.973 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.002693/0.002693, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.18/2.18, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 51.92 kB / 350.8 MB, free: 3.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4185, allocations: 49.43 MB / 400.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01799/0.4365, allocations: 7.963 MB / 408.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008298/0.4449, allocations: 2.625 MB / 410.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001488/0.4464, allocations: 27.94 kB / 410.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002677/0.4492, allocations: 0.4892 MB / 411.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.4517, allocations: 408.7 kB / 411.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.4528, allocations: 211.6 kB / 411.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002603/0.4554, allocations: 1.243 MB / 413.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.4568, allocations: 0.5214 MB / 413.7 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.458, allocations: 490.1 kB / 414.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.4593, allocations: 0.5211 MB / 414.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003414/0.4596, allocations: 112 kB / 414.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006907/0.4603, allocations: 159.9 kB / 415 MB, free: 9.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003676/0.4607, allocations: 235.2 kB / 415.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.4619, allocations: 0.5637 MB / 415.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002783/0.4647, allocations: 1.46 MB / 417.2 MB, free: 7.715 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4648, allocations: 0 / 417.2 MB, free: 7.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.4648, allocations: 0 / 417.2 MB, free: 7.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.639e-05/0.4649, allocations: 0 / 417.2 MB, free: 7.715 MB / 334.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.004543/0.4694, allocations: 1.305 MB / 418.5 MB, free: 6.359 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.4695, allocations: 12.03 kB / 418.5 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002842/0.4698, allocations: 135.5 kB / 418.7 MB, free: 6.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009335/0.4707, allocations: 151.5 kB / 418.8 MB, free: 6.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.4728, allocations: 0.6416 MB / 419.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-05/0.4729, allocations: 66.12 kB / 419.5 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.4731, allocations: 84 kB / 419.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/0.4758, allocations: 0.8262 MB / 420.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.908e-05/0.4759, allocations: 3.906 kB / 420.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.476, allocations: 36 kB / 420.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.4761, allocations: 24 kB / 420.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.4783, allocations: 0.5387 MB / 421 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008379/0.4867, allocations: 3.558 MB / 424.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009096/0.4876, allocations: 245.8 kB / 424.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004304/0.4881, allocations: 116.8 kB / 425 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.4881, allocations: 0 / 425 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.4882, allocations: 42.56 kB / 425 MB, free: 15.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 3.056e-06/0.4882, allocations: 0 / 425 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003793/0.492, allocations: 1.063 MB / 426.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/0.4921, allocations: 88.98 kB / 426.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.4941, allocations: 0.7624 MB / 426.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.4941, allocations: 33.7 kB / 426.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005992/0.4948, allocations: 0.5135 MB / 427.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.4949, allocations: 106.5 kB / 427.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002699/0.4952, allocations: 122.2 kB / 427.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002915/0.4955, allocations: 386.8 kB / 428.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/0.4961, allocations: 129.2 kB / 428.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000872/0.497, allocations: 446.2 kB / 428.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.4985, allocations: 0.6141 MB / 429.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.4986, allocations: 4 kB / 429.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002186/0.5008, allocations: 0.6459 MB / 429.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.5008, allocations: 11.94 kB / 429.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-05/0.5009, allocations: 12 kB / 429.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002658/0.5012, allocations: 44.78 kB / 430 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008861/0.5021, allocations: 147.7 kB / 430.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.5039, allocations: 1.391 MB / 431.5 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009321/0.5048, allocations: 39.95 kB / 431.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.388e-05/0.5049, allocations: 36 kB / 431.6 MB, free: 8.41 MB / 350.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.0006/0.5056, allocations: 241.5 kB / 431.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.5058, allocations: 75.06 kB / 431.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.5071, allocations: 341.8 kB / 432.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.5071, allocations: 4 kB / 432.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.5071, allocations: 3.938 kB / 432.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.5071, allocations: 3.984 kB / 432.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003186/0.5103, allocations: 1.114 MB / 433.3 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.5104, allocations: 4 kB / 433.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.5109, allocations: 60.12 kB / 433.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000155/0.5111, allocations: 24.84 kB / 433.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.826e-05/0.5112, allocations: 8 kB / 433.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.5126, allocations: 1.375 MB / 434.8 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/0.5127, allocations: 11.94 kB / 434.8 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.5144, allocations: 0.5691 MB / 435.4 MB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004822/0.5149, allocations: 184.1 kB / 435.6 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.5151, allocations: 8 kB / 435.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006582/0.5158, allocations: 20.06 kB / 435.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.5159, allocations: 27.95 kB / 435.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.516, allocations: 12 kB / 435.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00128/0.5173, allocations: 0.5185 MB / 436.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5173, allocations: 4 kB / 436.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001326/0.5186, allocations: 172 kB / 436.3 MB, free: 3.348 MB / 350.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.002419/0.5211, allocations: 1.142 MB / 437.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.5227, allocations: 479.8 kB / 437.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.5227, allocations: 0 / 437.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006867/0.5234, allocations: 240 kB / 438.2 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.5253, allocations: 183.2 kB / 438.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/0.54, allocations: 6.501 MB / 444.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/0.5406, allocations: 0.9525 MB / 445.8 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003529/0.541, allocations: 98.16 kB / 445.9 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/0.5414, allocations: 317.6 kB / 446.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of SimCode: time 1.037e-05/0.5414, allocations: 0 / 446.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1247/0.6661, allocations: 16.29 MB / 462.5 MB, free: 8.918 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.32/19.99, allocations: 8.062 kB / 462.5 MB, free: 8.91 MB / 382.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches