Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 206.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 52.06 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2432, allocations: 53.37 MB / 431.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01079/0.254, allocations: 7.064 MB / 438.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00452/0.2585, allocations: 2.451 MB / 440.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006944/0.2592, allocations: 27.88 kB / 440.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.2607, allocations: 0.5208 MB / 441.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001206/0.2619, allocations: 0.4886 MB / 441.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.2623, allocations: 231.7 kB / 441.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001658/0.264, allocations: 1.428 MB / 443.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007073/0.2647, allocations: 407.3 kB / 443.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000974/0.2657, allocations: 0.572 MB / 444.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008959/0.2666, allocations: 0.5833 MB / 444.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001995/0.2668, allocations: 140 kB / 445 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003808/0.2672, allocations: 172 kB / 445.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002818/0.2674, allocations: 275 kB / 445.4 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006071/0.2681, allocations: 0.5249 MB / 445.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.27, allocations: 1.712 MB / 447.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.27, allocations: 0 / 447.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.27, allocations: 0 / 447.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.27, allocations: 4 kB / 447.7 MB, free: 6.238 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.002441/0.2725, allocations: 1.388 MB / 449.1 MB, free: 4.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2725, allocations: 8.031 kB / 449.1 MB, free: 4.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001722/0.2727, allocations: 152.3 kB / 449.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000558/0.2732, allocations: 176 kB / 449.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.2745, allocations: 0.6571 MB / 450 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.693e-05/0.2745, allocations: 70 kB / 450.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.2747, allocations: 103.9 kB / 450.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.2763, allocations: 1.002 MB / 451.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/0.2763, allocations: 3.938 kB / 451.2 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.92e-05/0.2764, allocations: 40 kB / 451.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.2764, allocations: 20 kB / 451.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.2776, allocations: 0.6246 MB / 451.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004834/0.2824, allocations: 3.488 MB / 455.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.283, allocations: 266.5 kB / 455.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/0.2833, allocations: 136.8 kB / 455.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.2833, allocations: 4 kB / 455.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.2833, allocations: 38.5 kB / 455.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/0.2833, allocations: 4 kB / 455.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.002227/0.2855, allocations: 1.048 MB / 456.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.2856, allocations: 85.11 kB / 457 MB, free: 12.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.2867, allocations: 0.8408 MB / 457.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.2867, allocations: 33.64 kB / 457.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004371/0.2872, allocations: 0.5811 MB / 458.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.2873, allocations: 134.9 kB / 458.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.2874, allocations: 126.6 kB / 458.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2876, allocations: 333.9 kB / 459 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.2879, allocations: 153.9 kB / 459.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/0.2885, allocations: 485.6 kB / 459.6 MB, free: 9.684 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008793/0.2894, allocations: 0.6397 MB / 460.3 MB, free: 8.902 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.2894, allocations: 4 kB / 460.3 MB, free: 8.898 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001203/0.2906, allocations: 0.6966 MB / 461 MB, free: 8.191 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.2906, allocations: 8 kB / 461 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.2906, allocations: 12 kB / 461 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/0.2908, allocations: 32.84 kB / 461 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/0.2913, allocations: 159.7 kB / 461.2 MB, free: 7.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.2924, allocations: 1.295 MB / 462.5 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.2929, allocations: 35.98 kB / 462.5 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.2929, allocations: 36 kB / 462.5 MB, free: 6.504 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.0003618/0.2933, allocations: 249.5 kB / 462.8 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.2934, allocations: 95.38 kB / 462.9 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007339/0.2942, allocations: 386.4 kB / 463.2 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.2942, allocations: 4 kB / 463.2 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2942, allocations: 0 / 463.2 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2942, allocations: 0 / 463.2 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.2961, allocations: 1.152 MB / 464.4 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2961, allocations: 3.938 kB / 464.4 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003558/0.2964, allocations: 75.89 kB / 464.5 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001122/0.2965, allocations: 20.86 kB / 464.5 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.2966, allocations: 8 kB / 464.5 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.2981, allocations: 1.275 MB / 465.8 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.2981, allocations: 7.984 kB / 465.8 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.2997, allocations: 0.6245 MB / 466.4 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004109/0.3001, allocations: 119.5 kB / 466.5 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001493/0.3002, allocations: 12 kB / 466.5 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006333/0.3008, allocations: 27.92 kB / 466.6 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/0.3009, allocations: 27.95 kB / 466.6 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.301, allocations: 12 kB / 466.6 MB, free: 2.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001219/0.3022, allocations: 0.5654 MB / 467.2 MB, free: 1.602 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3022, allocations: 0 / 467.2 MB, free: 1.602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001176/0.3034, allocations: 188 kB / 467.4 MB, free: 1.418 MB / 366.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.002149/0.3055, allocations: 1.204 MB / 468.6 MB, free: 168 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.3071, allocations: 0.4967 MB / 469.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3071, allocations: 0 / 469.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006578/0.3078, allocations: 250.5 kB / 469.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.3094, allocations: 207.9 kB / 469.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/0.3217, allocations: 7.127 MB / 476.6 MB, free: 7.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.3222, allocations: 404.8 kB / 477 MB, free: 7.195 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004096/0.3226, allocations: 106.9 kB / 477.1 MB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/0.3231, allocations: 367.3 kB / 477.5 MB, free: 6.727 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3231, allocations: 0 / 477.5 MB, free: 6.727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05594/0.379, allocations: 19.78 MB / 497.3 MB, free: 3.293 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.76, allocations: 10.91 kB / 497.3 MB, free: 3.289 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start_fmu --startTime=0 --stopTime=2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 15.489948044996709]