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.0009727/0.0009731, allocations: 93.27 kB / 16.65 MB, free: 6.535 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.001116/0.001116, allocations: 176.3 kB / 17.56 MB, free: 6.18 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.369/1.369, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002824, allocations: 8 kB / 301.5 MB, free: 5.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09708/0.09738, allocations: 50.41 MB / 352 MB, free: 3.367 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.007223/0.1047, allocations: 6.653 MB / 358.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004341/0.109, allocations: 2.298 MB / 360.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009146/0.11, allocations: 19.94 kB / 360.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.1116, allocations: 441.7 kB / 361.4 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.1131, allocations: 337.6 kB / 361.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005963/0.1137, allocations: 175.9 kB / 361.9 MB, free: 9.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.1154, allocations: 1.136 MB / 363 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007966/0.1162, allocations: 446.6 kB / 363.4 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007091/0.1169, allocations: 378.1 kB / 363.8 MB, free: 7.445 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000718/0.1177, allocations: 433.8 kB / 364.2 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.1179, allocations: 52 kB / 364.3 MB, free: 6.969 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.1182, allocations: 95.97 kB / 364.4 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.1184, allocations: 159.2 kB / 364.5 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000617/0.119, allocations: 0.4991 MB / 365 MB, free: 6.211 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.1203, allocations: 1.339 MB / 366.4 MB, free: 4.867 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1203, allocations: 0 / 366.4 MB, free: 4.867 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1204, allocations: 0 / 366.4 MB, free: 4.867 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.292e-05/0.1204, allocations: 4 kB / 366.4 MB, free: 4.863 MB / 302.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.002224/0.1227, allocations: 1.087 MB / 367.5 MB, free: 3.727 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.1227, allocations: 8.031 kB / 367.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/0.1229, allocations: 123.1 kB / 367.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005931/0.1235, allocations: 151.6 kB / 367.7 MB, free: 3.441 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.1248, allocations: 0.6416 MB / 368.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.342e-05/0.1249, allocations: 54.38 kB / 368.4 MB, free: 2.703 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.125, allocations: 84.12 kB / 368.5 MB, free: 2.621 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.1265, allocations: 0.7872 MB / 369.3 MB, free: 1.801 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/0.1266, allocations: 7.984 kB / 369.3 MB, free: 1.793 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/0.1267, allocations: 36 kB / 369.3 MB, free: 1.758 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.1267, allocations: 16 kB / 369.4 MB, free: 1.742 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.1278, allocations: 0.5348 MB / 369.9 MB, free: 1.211 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1943/0.3221, allocations: 3.411 MB / 373.3 MB, free: 22.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.3227, allocations: 233.8 kB / 373.5 MB, free: 22.31 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.323, allocations: 122.8 kB / 373.6 MB, free: 22.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.323, allocations: 6.5 kB / 373.7 MB, free: 22.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.323, allocations: 35.59 kB / 373.7 MB, free: 22.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 2.545e-06/0.323, allocations: 2.438 kB / 373.7 MB, free: 22.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.002156/0.3252, allocations: 1.075 MB / 374.8 MB, free: 21.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.3253, allocations: 85.38 kB / 374.8 MB, free: 21.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.3263, allocations: 0.7391 MB / 375.6 MB, free: 21.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.3263, allocations: 35.25 kB / 375.6 MB, free: 21.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.3266, allocations: 497.9 kB / 376.1 MB, free: 21.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.493e-05/0.3267, allocations: 108.4 kB / 376.2 MB, free: 21.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/0.3268, allocations: 52.7 kB / 376.3 MB, free: 21.15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3269, allocations: 374.4 kB / 376.6 MB, free: 20.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.3272, allocations: 136.9 kB / 376.8 MB, free: 20.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.3276, allocations: 428.6 kB / 377.2 MB, free: 20.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006618/0.3282, allocations: 0.5858 MB / 377.8 MB, free: 19.85 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3282, allocations: 2.875 kB / 377.8 MB, free: 19.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001021/0.3293, allocations: 0.6324 MB / 378.4 MB, free: 19.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.3293, allocations: 8.469 kB / 378.4 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.3293, allocations: 10.89 kB / 378.4 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001451/0.3295, allocations: 32.84 kB / 378.5 MB, free: 19.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.3299, allocations: 142.7 kB / 378.6 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007249/0.3306, allocations: 1.286 MB / 379.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/0.3311, allocations: 46.47 kB / 379.9 MB, free: 18.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.3311, allocations: 30.12 kB / 380 MB, free: 18.21 MB / 302.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.0002619/0.3314, allocations: 236.9 kB / 380.2 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/0.3315, allocations: 70.75 kB / 380.3 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006426/0.3322, allocations: 335.6 kB / 380.6 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.3322, allocations: 2.562 kB / 380.6 MB, free: 17.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3322, allocations: 5.828 kB / 380.6 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3322, allocations: 2.531 kB / 380.6 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.3337, allocations: 1.118 MB / 381.7 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3337, allocations: 2.125 kB / 381.7 MB, free: 17.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.334, allocations: 68.92 kB / 381.8 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.407e-05/0.3341, allocations: 22.91 kB / 381.8 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.3341, allocations: 7.438 kB / 381.8 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006176/0.3347, allocations: 1.277 MB / 383.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3348, allocations: 5.562 kB / 383.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008448/0.3356, allocations: 0.5788 MB / 383.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.3358, allocations: 174.9 kB / 383.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.3359, allocations: 7.828 kB / 383.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.3362, allocations: 31.11 kB / 383.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.737e-05/0.3363, allocations: 26.05 kB / 383.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.3363, allocations: 12.5 kB / 383.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006611/0.337, allocations: 0.503 MB / 384.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.337, allocations: 0 / 384.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006182/0.3376, allocations: 156.5 kB / 384.6 MB, free: 15.05 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 (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.001081/0.3387, allocations: 1.143 MB / 385.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008305/0.3395, allocations: 476.4 kB / 386.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3395, allocations: 1.031 kB / 386.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.3399, allocations: 243.7 kB / 386.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.341, allocations: 178 kB / 386.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008976/0.35, allocations: 7.063 MB / 393.7 MB, free: 9.055 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.3505, allocations: 0.9405 MB / 394.6 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004072/0.3509, allocations: 88.77 kB / 394.7 MB, free: 8.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000308/0.3512, allocations: 299.9 kB / 395 MB, free: 8.09 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3512, allocations: 4 kB / 395 MB, free: 8.086 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/0.377, allocations: 14.38 MB / 409.4 MB, free: 13.54 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.3772, allocations: 238.8 kB / 409.6 MB, free: 13.29 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/2.53, allocations: 3.938 kB / 409.6 MB, free: 13.29 MB / 318.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