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.001286/0.001286, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001308/0.001308, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.502/1.502, allocations: 230.5 MB / 254 MB, free: 15 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.002955/0.002955, allocations: 67.89 kB / 373 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1153, allocations: 53.36 MB / 426.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.2325/0.3478, allocations: 7.191 MB / 433.5 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0044/0.3522, allocations: 2.387 MB / 435.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007811/0.353, allocations: 20.31 kB / 436 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.3544, allocations: 0.5131 MB / 436.5 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.3555, allocations: 414.4 kB / 436.9 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.3559, allocations: 206.9 kB / 437.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.3572, allocations: 1.199 MB / 438.3 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005465/0.3577, allocations: 344.1 kB / 438.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007985/0.3585, allocations: 482.1 kB / 439.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005656/0.3591, allocations: 499.2 kB / 439.6 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.3593, allocations: 114.3 kB / 439.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.3596, allocations: 157.6 kB / 439.8 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.3598, allocations: 221 kB / 440.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004884/0.3603, allocations: 0.5441 MB / 440.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.3623, allocations: 1.435 MB / 442 MB, free: 3.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3623, allocations: 8.594 kB / 442 MB, free: 3.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3623, allocations: 1.094 kB / 442 MB, free: 3.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.427e-05/0.3623, allocations: 4 kB / 442 MB, free: 3.816 MB / 350.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.002154/0.3645, allocations: 1.273 MB / 443.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.3645, allocations: 10.44 kB / 443.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001345/0.3646, allocations: 128.2 kB / 443.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004836/0.3651, allocations: 149.3 kB / 443.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.3661, allocations: 0.6502 MB / 444.2 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.439e-05/0.3662, allocations: 58.12 kB / 444.3 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.3664, allocations: 84.41 kB / 444.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.3677, allocations: 0.7851 MB / 445.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.3677, allocations: 1.672 kB / 445.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/0.3678, allocations: 32.2 kB / 445.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.3678, allocations: 20.19 kB / 445.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.3688, allocations: 0.5216 MB / 445.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004145/0.3729, allocations: 3.374 MB / 449.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/0.3734, allocations: 219.2 kB / 449.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.3737, allocations: 104.2 kB / 449.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.3737, allocations: 4.031 kB / 449.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.3738, allocations: 44.48 kB / 449.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.003e-06/0.3738, allocations: 0 / 449.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.002329/0.3761, allocations: 1.055 MB / 450.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/0.3762, allocations: 85.47 kB / 450.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.3773, allocations: 0.7338 MB / 451.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.3773, allocations: 30.73 kB / 451.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004397/0.3778, allocations: 0.5031 MB / 451.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.3779, allocations: 111.7 kB / 452 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.378, allocations: 117.2 kB / 452.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.3783, allocations: 383.7 kB / 452.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.3786, allocations: 122.7 kB / 452.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.3791, allocations: 418.7 kB / 453 MB, free: 12.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008699/0.38, allocations: 0.5714 MB / 453.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.38, allocations: 4.344 kB / 453.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001212/0.3812, allocations: 0.6211 MB / 454.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3813, allocations: 10.47 kB / 454.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.3813, allocations: 8.891 kB / 454.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.3814, allocations: 34.56 kB / 454.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.3819, allocations: 139.9 kB / 454.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.3831, allocations: 1.39 MB / 455.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.3837, allocations: 34.47 kB / 455.8 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.3837, allocations: 30.12 kB / 455.9 MB, free: 10.23 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.0003677/0.3841, allocations: 237.2 kB / 456.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.3842, allocations: 73.91 kB / 456.2 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007418/0.385, allocations: 322.5 kB / 456.5 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.385, allocations: 3.188 kB / 456.5 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.385, allocations: 1.031 kB / 456.5 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.385, allocations: 1.922 kB / 456.5 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.387, allocations: 1.103 MB / 457.6 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.387, allocations: 2.547 kB / 457.6 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.3873, allocations: 57.12 kB / 457.6 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.714e-05/0.3874, allocations: 26.78 kB / 457.7 MB, free: 9.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.3874, allocations: 8.281 kB / 457.7 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.3886, allocations: 1.377 MB / 459.1 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.3886, allocations: 6.688 kB / 459.1 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009744/0.3896, allocations: 0.5524 MB / 459.6 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/0.3899, allocations: 186 kB / 459.8 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-05/0.39, allocations: 7.688 kB / 459.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.3903, allocations: 19.77 kB / 459.8 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.3904, allocations: 24.77 kB / 459.8 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.3904, allocations: 16.47 kB / 459.9 MB, free: 7.191 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008002/0.3912, allocations: 0.5004 MB / 460.4 MB, free: 6.965 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3912, allocations: 0 / 460.4 MB, free: 6.965 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008452/0.3921, allocations: 161.8 kB / 460.5 MB, free: 6.949 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.001476/0.3935, allocations: 1.129 MB / 461.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.3945, allocations: 449.8 kB / 462.1 MB, free: 5.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3945, allocations: 0 / 462.1 MB, free: 5.816 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004181/0.395, allocations: 233.1 kB / 462.3 MB, free: 5.668 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009667/0.3959, allocations: 190.9 kB / 462.5 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.4068, allocations: 6.272 MB / 468.8 MB, free: 1.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007229/0.4075, allocations: 0.9366 MB / 469.7 MB, free: 492 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004439/0.4079, allocations: 90.39 kB / 469.8 MB, free: 448 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004141/0.4084, allocations: 299.8 kB / 470.1 MB, free: 188 kB / 366.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4084, allocations: 0 / 470.1 MB, free: 188 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07387/0.4822, allocations: 15.57 MB / 485.7 MB, free: 4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.65, allocations: 4 kB / 485.7 MB, free: 3.996 MB / 382.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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.w in file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.674994335044175]