Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",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.00148/0.00148, allocations: 106.5 kB / 17.06 MB, free: 6.016 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: 195 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.845/1.845, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 47.92 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4059, allocations: 49.44 MB / 400.2 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.01404/0.42, allocations: 7.127 MB / 407.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005952/0.426, allocations: 2.341 MB / 409.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.4273, allocations: 19.94 kB / 409.7 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002327/0.4296, allocations: 0.493 MB / 410.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.4316, allocations: 381 kB / 410.6 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008307/0.4325, allocations: 207.7 kB / 410.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00237/0.4349, allocations: 1.199 MB / 412 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.4361, allocations: 0.5076 MB / 412.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009641/0.4371, allocations: 466.1 kB / 413 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.4382, allocations: 497.8 kB / 413.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003585/0.4386, allocations: 112 kB / 413.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006398/0.4393, allocations: 156 kB / 413.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003136/0.4396, allocations: 231.1 kB / 413.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.4407, allocations: 0.5482 MB / 414.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002393/0.4431, allocations: 1.425 MB / 415.9 MB, free: 9.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4431, allocations: 4 kB / 415.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.19e-06/0.4431, allocations: 0 / 415.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.528e-05/0.4432, allocations: 3.938 kB / 415.9 MB, free: 9.078 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.003674/0.4469, allocations: 1.254 MB / 417.2 MB, free: 7.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.671e-05/0.447, allocations: 12.03 kB / 417.2 MB, free: 7.762 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002663/0.4472, allocations: 123.1 kB / 417.3 MB, free: 7.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000855/0.4481, allocations: 139.7 kB / 417.4 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.45, allocations: 0.6494 MB / 418.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.991e-05/0.45, allocations: 54.38 kB / 418.1 MB, free: 6.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001917/0.4502, allocations: 84.12 kB / 418.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.4524, allocations: 0.7793 MB / 419 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.425e-05/0.4525, allocations: 7.891 kB / 419 MB, free: 5.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.4526, allocations: 40 kB / 419.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.033e-05/0.4527, allocations: 20 kB / 419.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.4545, allocations: 0.5114 MB / 419.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006728/0.4612, allocations: 3.368 MB / 423 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007702/0.462, allocations: 230.5 kB / 423.2 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/0.4625, allocations: 112.8 kB / 423.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.4625, allocations: 11.98 kB / 423.3 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.4626, allocations: 38.56 kB / 423.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 3.436e-06/0.4626, allocations: 0 / 423.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.003215/0.4658, allocations: 1.055 MB / 424.4 MB, free: 172 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.4659, allocations: 77.34 kB / 424.5 MB, free: 76 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.4675, allocations: 0.7387 MB / 425.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.4676, allocations: 29.7 kB / 425.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005209/0.4681, allocations: 498.2 kB / 425.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.4682, allocations: 106.5 kB / 425.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.4685, allocations: 118.2 kB / 425.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002333/0.4687, allocations: 382.8 kB / 426.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004505/0.4692, allocations: 117.2 kB / 426.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007626/0.47, allocations: 422.1 kB / 426.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.4713, allocations: 0.5792 MB / 427.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.4713, allocations: 4 kB / 427.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001859/0.4732, allocations: 0.607 MB / 428 MB, free: 12.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/0.4733, allocations: 12 kB / 428 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-05/0.4733, allocations: 8 kB / 428 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.4735, allocations: 33.3 kB / 428.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007298/0.4743, allocations: 143.7 kB / 428.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.4759, allocations: 1.402 MB / 429.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008138/0.4767, allocations: 27.98 kB / 429.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.205e-05/0.4768, allocations: 28 kB / 429.7 MB, free: 10.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (73): * Single equations (assignments): 72 * 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.0005187/0.4774, allocations: 241.5 kB / 429.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.4776, allocations: 79.12 kB / 430 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.4786, allocations: 317.4 kB / 430.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.4787, allocations: 4 kB / 430.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4787, allocations: 0 / 430.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.4787, allocations: 0 / 430.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/0.4815, allocations: 1.096 MB / 431.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.4816, allocations: 3.938 kB / 431.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/0.482, allocations: 64.12 kB / 431.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001477/0.4822, allocations: 20.84 kB / 431.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.4822, allocations: 8 kB / 431.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.4837, allocations: 1.378 MB / 432.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4837, allocations: 0 / 432.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.4852, allocations: 0.5532 MB / 433.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/0.4856, allocations: 176.2 kB / 433.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.4858, allocations: 4 kB / 433.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/0.4864, allocations: 23.97 kB / 433.6 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.4865, allocations: 27.84 kB / 433.7 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.4866, allocations: 12 kB / 433.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001227/0.4878, allocations: 0.503 MB / 434.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4878, allocations: 0 / 434.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001233/0.4891, allocations: 167.9 kB / 434.3 MB, free: 5.438 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 (27): * Single equations (assignments): 26 * 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.001981/0.4911, allocations: 1.123 MB / 435.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.4925, allocations: 463 kB / 435.9 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.4925, allocations: 5.938 kB / 435.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.4931, allocations: 235 kB / 436.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.4947, allocations: 183 kB / 436.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01419/0.5089, allocations: 6.244 MB / 442.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008516/0.5098, allocations: 0.9449 MB / 443.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006105/0.5105, allocations: 90.02 kB / 443.6 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005723/0.5111, allocations: 299.3 kB / 443.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5111, allocations: 0 / 443.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.271/2.782, allocations: 15.64 MB / 459.5 MB, free: 11.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.95/20.73, allocations: 11.31 kB / 459.5 MB, free: 11.97 MB / 382.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches