Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001672/0.001672, allocations: 112.5 kB / 20.43 MB, free: 1.312 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.002022/0.002022, allocations: 208.8 kB / 23.74 MB, free: 4.543 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.458/1.458, allocations: 230.5 MB / 257.4 MB, free: 8.027 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.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 67.89 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2897, allocations: 53.41 MB / 431.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01362/0.3033, allocations: 9.827 MB / 441 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007332/0.3106, allocations: 3.116 MB / 444.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.3125, allocations: 63.62 kB / 444.2 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002503/0.315, allocations: 0.6677 MB / 444.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003698/0.3187, allocations: 0.7921 MB / 445.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.3202, allocations: 391.4 kB / 446.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004173/0.3243, allocations: 2.444 MB / 448.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002326/0.3267, allocations: 1.053 MB / 449.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.3287, allocations: 1.11 MB / 450.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002509/0.3312, allocations: 1.35 MB / 452 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000783/0.332, allocations: 276 kB / 452.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.3333, allocations: 383.8 kB / 452.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00118/0.3344, allocations: 0.7868 MB / 453.4 MB, free: 304 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.3363, allocations: 1.276 MB / 454.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004135/0.3404, allocations: 3.667 MB / 458.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3404, allocations: 0 / 458.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3404, allocations: 0 / 458.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.503e-05/0.3405, allocations: 0 / 458.4 MB, free: 11.34 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.00513/0.3456, allocations: 2.583 MB / 461 MB, free: 8.711 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3456, allocations: 8.031 kB / 461 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003551/0.346, allocations: 286.6 kB / 461.3 MB, free: 8.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008252/0.3468, allocations: 279.4 kB / 461.5 MB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/0.3494, allocations: 1.302 MB / 462.8 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.3495, allocations: 143.9 kB / 463 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000293/0.3498, allocations: 191.9 kB / 463.2 MB, free: 6.469 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004034/0.3538, allocations: 2.422 MB / 465.6 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.344e-05/0.3539, allocations: 3.938 kB / 465.6 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.354, allocations: 83.98 kB / 465.7 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001033/0.3541, allocations: 87.69 kB / 465.8 MB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003314/0.3575, allocations: 1.955 MB / 467.7 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/0.3695, allocations: 7.641 MB / 475.3 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.3712, allocations: 1.007 MB / 476.4 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001801/0.373, allocations: 0.9094 MB / 477.3 MB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/0.3732, allocations: 48.91 kB / 477.3 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.3733, allocations: 43.56 kB / 477.4 MB, free: 7.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 3.236e-06/0.3733, allocations: 0 / 477.4 MB, free: 7.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.0124/0.3857, allocations: 5.52 MB / 482.9 MB, free: 2.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.3857, allocations: 68.34 kB / 482.9 MB, free: 2.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/0.3876, allocations: 1.314 MB / 484.3 MB, free: 1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.429e-05/0.3877, allocations: 41.7 kB / 484.3 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007195/0.3884, allocations: 0.942 MB / 485.2 MB, free: 0 / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.3888, allocations: 408.5 kB / 485.6 MB, free: 15.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003796/0.3892, allocations: 255.5 kB / 485.9 MB, free: 15.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3893, allocations: 357.9 kB / 486.2 MB, free: 14.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.3903, allocations: 0.6364 MB / 486.9 MB, free: 14.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.3917, allocations: 1 MB / 487.9 MB, free: 13.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002462/0.3941, allocations: 1.739 MB / 489.6 MB, free: 11.31 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3941, allocations: 0 / 489.6 MB, free: 11.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003937/0.3981, allocations: 2.242 MB / 491.9 MB, free: 9.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.3981, allocations: 14.5 kB / 491.9 MB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.3981, allocations: 8 kB / 491.9 MB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.3994, allocations: 492.2 kB / 492.4 MB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.4004, allocations: 303.5 kB / 492.7 MB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007568/0.408, allocations: 6.833 MB / 499.5 MB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/0.4092, allocations: 87.84 kB / 499.6 MB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.4093, allocations: 56 kB / 499.6 MB, free: 0.9219 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001112/0.4104, allocations: 0.5992 MB / 0.4885 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.4107, allocations: 155 kB / 0.4886 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003518/0.4142, allocations: 1.961 MB / 0.4906 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.4143, allocations: 12.19 kB / 0.4906 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.4143, allocations: 4 kB / 0.4906 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.4143, allocations: 11.92 kB / 0.4906 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007189/0.4215, allocations: 4.069 MB / 0.4946 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.4215, allocations: 3.984 kB / 0.4946 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008231/0.4223, allocations: 179.8 kB / 0.4947 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/0.4238, allocations: 0.5468 MB / 0.4953 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-05/0.4238, allocations: 27.98 kB / 0.4953 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008869/0.4327, allocations: 8.359 MB / 0.5035 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.4327, allocations: 8.062 kB / 0.5035 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004877/0.4376, allocations: 2.848 MB / 0.5063 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008602/0.4385, allocations: 290.9 kB / 0.5065 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.4387, allocations: 27.98 kB / 0.5066 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007368/0.4394, allocations: 67.92 kB / 0.5066 GB, free: 13.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.4396, allocations: 96.8 kB / 0.5067 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.072e-05/0.4397, allocations: 31.98 kB / 0.5067 GB, free: 12.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001351/0.441, allocations: 0.8958 MB / 0.5076 GB, free: 12.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.441, allocations: 0 / 0.5076 GB, free: 12.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001564/0.4426, allocations: 436 kB / 0.508 GB, free: 11.65 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,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.005219/0.4478, allocations: 3.479 MB / 0.5114 GB, free: 8.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003575/0.4514, allocations: 1.999 MB / 0.5134 GB, free: 6.059 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.4514, allocations: 192 / 0.5134 GB, free: 6.059 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.4537, allocations: 1.389 MB / 0.5147 GB, free: 4.617 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.4557, allocations: 430.1 kB / 0.5151 GB, free: 4.203 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02412/0.4798, allocations: 15.7 MB / 0.5305 GB, free: 3.949 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/0.4812, allocations: 1.654 MB / 0.5321 GB, free: 2.266 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009402/0.4822, allocations: 320.8 kB / 0.5324 GB, free: 1.945 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009441/0.4831, allocations: 0.718 MB / 0.5331 GB, free: 1.227 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4831, allocations: 0 / 0.5331 GB, free: 1.227 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3104/0.7935, allocations: 41.02 MB / 0.5732 GB, free: 75.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.29/22.09, allocations: 3.984 kB / 0.5732 GB, free: 75.65 MB / 446.1 MB " [Timeout remaining time 638] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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: 25.959419993916526]