Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001175/0.001175, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8944/0.8944, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.886e-05, allocations: 7.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.005602/0.005621, allocations: 6.364 MB / 330.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.008499, allocations: 2.216 MB / 333.1 MB, free: 7.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003734/0.008872, allocations: 19.94 kB / 333.1 MB, free: 7.234 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008744/0.009747, allocations: 492.8 kB / 333.6 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005163/0.01026, allocations: 428.7 kB / 334 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.01051, allocations: 199.8 kB / 334.2 MB, free: 6.133 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009706/0.01148, allocations: 1.261 MB / 335.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004012/0.01188, allocations: 312.5 kB / 335.8 MB, free: 4.543 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006358/0.01252, allocations: 0.7092 MB / 336.5 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.01282, allocations: 366.8 kB / 336.9 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.645e-05/0.01291, allocations: 112 kB / 337 MB, free: 3.363 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.01307, allocations: 152 kB / 337.1 MB, free: 3.215 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.01318, allocations: 231.1 kB / 337.3 MB, free: 2.988 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002298/0.01341, allocations: 375.1 kB / 337.7 MB, free: 2.621 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009739/0.01438, allocations: 1.433 MB / 339.1 MB, free: 1.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.01438, allocations: 0 / 339.1 MB, free: 1.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01439, allocations: 4 kB / 339.1 MB, free: 1.176 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.01439, allocations: 0 / 339.1 MB, free: 1.176 MB / 298.7 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.001345/0.01574, allocations: 1.198 MB / 340.3 MB, free: 15.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.01579, allocations: 11.98 kB / 340.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.01591, allocations: 123.1 kB / 340.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003097/0.01622, allocations: 152.2 kB / 340.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008209/0.01704, allocations: 0.5796 MB / 341.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.01708, allocations: 58.38 kB / 341.3 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.874e-05/0.01717, allocations: 88.31 kB / 341.3 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009162/0.01809, allocations: 0.8262 MB / 342.2 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.01811, allocations: 7.922 kB / 342.2 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.01815, allocations: 32 kB / 342.2 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.01817, allocations: 20 kB / 342.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008016/0.01897, allocations: 0.5192 MB / 342.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.02161, allocations: 3.04 MB / 345.8 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.02195, allocations: 210.6 kB / 346 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.02209, allocations: 112.8 kB / 346.1 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.02212, allocations: 11.86 kB / 346.1 MB, free: 9.883 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.02214, allocations: 38.56 kB / 346.2 MB, free: 9.836 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.02214, allocations: 0 / 346.2 MB, free: 9.836 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001292/0.02343, allocations: 0.9045 MB / 347.1 MB, free: 8.895 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.02348, allocations: 81.34 kB / 347.1 MB, free: 8.797 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000628/0.02411, allocations: 0.7581 MB / 347.9 MB, free: 8.031 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.02412, allocations: 29.7 kB / 347.9 MB, free: 7.996 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.02436, allocations: 0.4995 MB / 348.4 MB, free: 7.492 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.02442, allocations: 111.1 kB / 348.5 MB, free: 7.383 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.02452, allocations: 110.2 kB / 348.6 MB, free: 7.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.02464, allocations: 378.8 kB / 349 MB, free: 6.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.0248, allocations: 129.2 kB / 349.1 MB, free: 6.766 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.02526, allocations: 447.9 kB / 349.6 MB, free: 6.184 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.02574, allocations: 0.5716 MB / 350.1 MB, free: 5.477 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.02574, allocations: 0 / 350.1 MB, free: 5.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006397/0.02638, allocations: 0.6153 MB / 350.8 MB, free: 4.852 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.0264, allocations: 8 kB / 350.8 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.02641, allocations: 16.12 kB / 350.8 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001162/0.02653, allocations: 32.84 kB / 350.8 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.02676, allocations: 139.8 kB / 351 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006947/0.02746, allocations: 1.279 MB / 352.2 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.02768, allocations: 40.03 kB / 352.3 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.0277, allocations: 32 kB / 352.3 MB, free: 3.191 MB / 314.7 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.0003502/0.02806, allocations: 237.6 kB / 352.5 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.02812, allocations: 71.53 kB / 352.6 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.02852, allocations: 321.7 kB / 352.9 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.02852, allocations: 4 kB / 352.9 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.02853, allocations: 11.94 kB / 352.9 MB, free: 2.535 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.02853, allocations: 0 / 352.9 MB, free: 2.535 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009816/0.02951, allocations: 0.9921 MB / 353.9 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.02951, allocations: 7.984 kB / 353.9 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.02966, allocations: 64.12 kB / 354 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.485e-05/0.02971, allocations: 24.84 kB / 354 MB, free: 1.367 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.02973, allocations: 8 kB / 354 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005711/0.0303, allocations: 1.256 MB / 355.3 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.0303, allocations: 7.969 kB / 355.3 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005261/0.03083, allocations: 0.557 MB / 355.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.03096, allocations: 99.48 kB / 355.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.031, allocations: 8 kB / 356 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.03115, allocations: 19.98 kB / 356 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.03122, allocations: 27.95 kB / 356 MB, free: 15.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.03123, allocations: 19.88 kB / 356 MB, free: 15.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005757/0.0318, allocations: 0.5068 MB / 356.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0318, allocations: 0 / 356.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003807/0.03218, allocations: 160 kB / 356.7 MB, free: 14.55 MB / 330.7 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.0007989/0.03298, allocations: 1.12 MB / 357.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005362/0.03352, allocations: 449.3 kB / 358.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.03352, allocations: 0 / 358.2 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.03372, allocations: 235 kB / 358.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005498/0.03427, allocations: 181.4 kB / 358.7 MB, free: 12.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/0.04032, allocations: 6.196 MB / 364.8 MB, free: 5.914 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.04054, allocations: 352.5 kB / 365.2 MB, free: 5.543 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001921/0.04073, allocations: 90 kB / 365.3 MB, free: 5.453 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.04097, allocations: 304.3 kB / 365.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.04097, allocations: 4 kB / 365.6 MB, free: 5.148 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.06974, allocations: 16.99 MB / 382.6 MB, free: 4.398 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.695/7.765, allocations: 18.81 kB / 382.6 MB, free: 4.383 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.174257094040513]