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.001628/0.001628, allocations: 117.3 kB / 18.5 MB, free: 4.434 MB / 14.72 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.001979/0.001979, allocations: 218.6 kB / 21.47 MB, free: 1.473 MB / 14.72 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 1.477/1.477, allocations: 230.2 MB / 254.5 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002139/0.002139, allocations: 63.89 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1125, allocations: 53.33 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.009283/0.1218, allocations: 7.181 MB / 433.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004838/0.1266, allocations: 2.388 MB / 436.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000857/0.1274, allocations: 20 kB / 436.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.1289, allocations: 0.5126 MB / 436.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009722/0.1298, allocations: 416.9 kB / 437.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.1303, allocations: 199.7 kB / 437.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001494/0.1318, allocations: 1.206 MB / 438.6 MB, free: 9.023 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005888/0.1324, allocations: 343.9 kB / 438.9 MB, free: 8.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007618/0.1331, allocations: 478.1 kB / 439.4 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005844/0.1337, allocations: 493.8 kB / 439.9 MB, free: 7.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.1338, allocations: 115.9 kB / 440 MB, free: 7.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.1341, allocations: 152 kB / 440.1 MB, free: 7.449 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.1343, allocations: 227.2 kB / 440.4 MB, free: 7.227 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005325/0.1349, allocations: 0.5443 MB / 440.9 MB, free: 6.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.1365, allocations: 1.432 MB / 442.3 MB, free: 5.242 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1365, allocations: 4 kB / 442.3 MB, free: 5.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1365, allocations: 3.938 kB / 442.3 MB, free: 5.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.1366, allocations: 0 / 442.3 MB, free: 5.234 MB / 366.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.002165/0.1387, allocations: 1.277 MB / 443.6 MB, free: 3.906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1388, allocations: 8.031 kB / 443.6 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.1389, allocations: 123.1 kB / 443.7 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004893/0.1394, allocations: 152.2 kB / 443.9 MB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.1406, allocations: 0.6539 MB / 444.5 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.997e-05/0.1406, allocations: 58.38 kB / 444.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.1407, allocations: 84.08 kB / 444.7 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.1421, allocations: 0.7793 MB / 445.5 MB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.1421, allocations: 4 kB / 445.5 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/0.1422, allocations: 32 kB / 445.5 MB, free: 1.938 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.1422, allocations: 20 kB / 445.5 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.1432, allocations: 0.5231 MB / 446 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2227/0.3659, allocations: 3.371 MB / 449.4 MB, free: 22.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.3664, allocations: 214 kB / 449.6 MB, free: 22.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.3666, allocations: 107.4 kB / 449.7 MB, free: 22.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.3667, allocations: 4.594 kB / 449.7 MB, free: 22.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.3667, allocations: 38.03 kB / 449.8 MB, free: 22.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.444e-06/0.3667, allocations: 1.656 kB / 449.8 MB, free: 22.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001821/0.3685, allocations: 1.057 MB / 450.8 MB, free: 22.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.3685, allocations: 80.91 kB / 450.9 MB, free: 22.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000861/0.3694, allocations: 0.7421 MB / 451.7 MB, free: 22.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.3694, allocations: 31.83 kB / 451.7 MB, free: 22.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/0.3697, allocations: 0.5043 MB / 452.2 MB, free: 21.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/0.3697, allocations: 104.8 kB / 452.3 MB, free: 21.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.3699, allocations: 117.3 kB / 452.4 MB, free: 21.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.626e-05/0.37, allocations: 376.5 kB / 452.8 MB, free: 21.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.3702, allocations: 126.3 kB / 452.9 MB, free: 21.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.3706, allocations: 424.9 kB / 453.3 MB, free: 20.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006087/0.3712, allocations: 0.5681 MB / 453.9 MB, free: 20.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3712, allocations: 3.219 kB / 453.9 MB, free: 20.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000965/0.3721, allocations: 0.6227 MB / 454.5 MB, free: 20.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.3722, allocations: 11.56 kB / 454.5 MB, free: 20.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.3722, allocations: 9.219 kB / 454.5 MB, free: 20.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001612/0.3723, allocations: 33.59 kB / 454.6 MB, free: 20.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.3728, allocations: 140.5 kB / 454.7 MB, free: 19.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007466/0.3735, allocations: 1.387 MB / 456.1 MB, free: 18.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004319/0.3739, allocations: 34.62 kB / 456.1 MB, free: 18.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.374, allocations: 30.23 kB / 456.1 MB, free: 18.56 MB / 366.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.0002529/0.3742, allocations: 241.8 kB / 456.4 MB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.3743, allocations: 76.52 kB / 456.5 MB, free: 18.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000598/0.3749, allocations: 318.5 kB / 456.8 MB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3749, allocations: 8.609 kB / 456.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3749, allocations: 0 / 456.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3749, allocations: 4.719 kB / 456.8 MB, free: 18.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.3765, allocations: 1.102 MB / 457.9 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.3765, allocations: 2.922 kB / 457.9 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.3768, allocations: 57.81 kB / 457.9 MB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.2e-05/0.3769, allocations: 22.77 kB / 458 MB, free: 17.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.3769, allocations: 9.125 kB / 458 MB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006462/0.3775, allocations: 1.375 MB / 459.3 MB, free: 16.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3775, allocations: 5.969 kB / 459.4 MB, free: 16.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007692/0.3783, allocations: 0.5576 MB / 459.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001938/0.3785, allocations: 175.6 kB / 460.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/0.3786, allocations: 7.609 kB / 460.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.3789, allocations: 19.36 kB / 460.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/0.3789, allocations: 30.48 kB / 460.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.379, allocations: 7.734 kB / 460.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006413/0.3796, allocations: 0.5 MB / 460.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3796, allocations: 0 / 460.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007419/0.3803, allocations: 162.9 kB / 460.8 MB, free: 15.31 MB / 366.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.001116/0.3815, allocations: 1.129 MB / 461.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008967/0.3824, allocations: 449.8 kB / 462.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3824, allocations: 1.781 kB / 462.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.3827, allocations: 237.8 kB / 462.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000886/0.3836, allocations: 182.2 kB / 462.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008121/0.3917, allocations: 6.281 MB / 469.1 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.3922, allocations: 0.945 MB / 470 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004108/0.3926, allocations: 90.56 kB / 470.1 MB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.3929, allocations: 298.8 kB / 470.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3929, allocations: 1.375 kB / 470.4 MB, free: 9.117 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04916/0.442, allocations: 15.55 MB / 485.9 MB, free: 3.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.5, allocations: 5.375 kB / 486 MB, free: 3.293 MB / 366.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 15.255001777783036]