Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.001316/0.001316, allocations: 109.1 kB / 21.22 MB, free: 0.7461 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.00146/0.00146, allocations: 208.2 kB / 24.53 MB, free: 4.137 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.455/1.455, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 59.91 kB / 378.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3475, allocations: 53.41 MB / 432 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01086/0.3583, allocations: 8.075 MB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005584/0.3639, allocations: 2.645 MB / 442.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.3653, allocations: 27.88 kB / 442.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002176/0.3675, allocations: 0.5676 MB / 443.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.3694, allocations: 492.4 kB / 443.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008443/0.3703, allocations: 243.6 kB / 444 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002529/0.3728, allocations: 1.424 MB / 445.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009727/0.3738, allocations: 411.2 kB / 445.8 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001246/0.375, allocations: 0.5681 MB / 446.4 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001091/0.3761, allocations: 0.5833 MB / 447 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000324/0.3764, allocations: 132 kB / 447.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005945/0.377, allocations: 176 kB / 447.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.3773, allocations: 279 kB / 447.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.3784, allocations: 0.6454 MB / 448.2 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002829/0.3812, allocations: 1.7 MB / 449.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/0.3812, allocations: 0 / 449.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3812, allocations: 0 / 449.9 MB, free: 4.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.536e-05/0.3813, allocations: 0 / 449.9 MB, free: 4.672 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003779/0.3851, allocations: 1.388 MB / 451.3 MB, free: 3.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.3851, allocations: 12.03 kB / 451.3 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.991e-05/0.3852, allocations: 30.19 kB / 451.3 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002443/0.3854, allocations: 148.3 kB / 451.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007118/0.3862, allocations: 172.1 kB / 451.6 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.3879, allocations: 0.6646 MB / 452.3 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/0.388, allocations: 70 kB / 452.4 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002014/0.3882, allocations: 100 kB / 452.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/0.3902, allocations: 0.9229 MB / 453.4 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.55e-05/0.3902, allocations: 7.953 kB / 453.4 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.21e-05/0.3903, allocations: 40 kB / 453.4 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.3904, allocations: 20 kB / 453.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.3918, allocations: 0.6246 MB / 454.1 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006506/0.3983, allocations: 3.776 MB / 457.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006897/0.399, allocations: 273.2 kB / 458.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003123/0.3993, allocations: 139.3 kB / 458.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.3993, allocations: 4 kB / 458.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.3994, allocations: 42.44 kB / 458.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 3.547e-06/0.3994, allocations: 0 / 458.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002851/0.4022, allocations: 1.043 MB / 459.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.4023, allocations: 85.05 kB / 459.4 MB, free: 10.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.4037, allocations: 0.8292 MB / 460.3 MB, free: 9.902 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.4038, allocations: 33.64 kB / 460.3 MB, free: 9.863 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004959/0.4043, allocations: 0.5851 MB / 460.9 MB, free: 9.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.4044, allocations: 126.9 kB / 461 MB, free: 9.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.4046, allocations: 126.6 kB / 461.1 MB, free: 9.016 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4047, allocations: 345.9 kB / 461.5 MB, free: 8.672 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/0.4051, allocations: 145.9 kB / 461.6 MB, free: 8.527 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005612/0.4057, allocations: 452 kB / 462.1 MB, free: 7.945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009618/0.4066, allocations: 0.6474 MB / 462.7 MB, free: 7.156 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.4066, allocations: 4 kB / 462.7 MB, free: 7.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001488/0.4081, allocations: 0.6851 MB / 463.4 MB, free: 6.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.4082, allocations: 8.156 kB / 463.4 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.136e-05/0.4082, allocations: 19.94 kB / 463.4 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/0.4084, allocations: 40.78 kB / 463.5 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/0.4089, allocations: 155.7 kB / 463.6 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.4102, allocations: 1.295 MB / 464.9 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007202/0.4109, allocations: 31.98 kB / 464.9 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.4109, allocations: 32.09 kB / 465 MB, free: 4.766 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * 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.0004792/0.4114, allocations: 257.9 kB / 465.2 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.4116, allocations: 91.38 kB / 465.3 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008817/0.4125, allocations: 370.4 kB / 465.7 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.4125, allocations: 7.938 kB / 465.7 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4125, allocations: 8.047 kB / 465.7 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.4125, allocations: 7.969 kB / 465.7 MB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002301/0.4148, allocations: 1.238 MB / 466.9 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.4148, allocations: 0 / 466.9 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.4152, allocations: 75.89 kB / 467 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.4153, allocations: 24.78 kB / 467 MB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.199e-05/0.4153, allocations: 12 kB / 467 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.4165, allocations: 1.26 MB / 468.3 MB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.4165, allocations: 12.12 kB / 468.3 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.4178, allocations: 0.6246 MB / 468.9 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004105/0.4182, allocations: 111.4 kB / 469.1 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.4183, allocations: 15.92 kB / 469.1 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.4187, allocations: 27.98 kB / 469.1 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/0.4188, allocations: 27.95 kB / 469.1 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.4188, allocations: 8 kB / 469.1 MB, free: 352 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009782/0.4198, allocations: 0.5615 MB / 469.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4198, allocations: 3.938 kB / 469.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009561/0.4207, allocations: 188 kB / 469.9 MB, free: 15.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * 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.00188/0.4226, allocations: 1.219 MB / 471.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.4239, allocations: 496.7 kB / 471.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.4239, allocations: 0 / 471.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005234/0.4244, allocations: 258.4 kB / 471.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.426, allocations: 225.1 kB / 472.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/0.441, allocations: 7.131 MB / 479.2 MB, free: 5.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009172/0.4419, allocations: 0.9923 MB / 480.2 MB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005154/0.4424, allocations: 106.9 kB / 480.3 MB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006054/0.443, allocations: 367.3 kB / 480.6 MB, free: 4.289 MB / 382.1 MB Notification: Performance of SimCode: time 2.425e-06/0.443, allocations: 4 kB / 480.6 MB, free: 4.285 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06154/0.5046, allocations: 18.51 MB / 499.1 MB, free: 2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14, allocations: 15.17 kB / 499.2 MB, free: 1.988 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCEE_Start/DCEE_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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: 18.870360040978994]