Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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.00159/0.00159, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001916/0.001916, allocations: 216.5 kB / 24.51 MB, free: 3.914 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.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 7.727 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.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 47.94 kB / 378.5 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2693, allocations: 53.36 MB / 431.9 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01087/0.2802, allocations: 8.362 MB / 440.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005701/0.2859, allocations: 2.867 MB / 443.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001177/0.287, allocations: 59.62 kB / 443.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.2887, allocations: 0.6249 MB / 443.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.2908, allocations: 0.8234 MB / 444.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007787/0.2916, allocations: 367.5 kB / 445 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003126/0.2948, allocations: 2.665 MB / 447.6 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.2964, allocations: 1.164 MB / 448.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.2982, allocations: 1.242 MB / 450 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002226/0.3004, allocations: 1.53 MB / 451.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004689/0.3009, allocations: 304 kB / 451.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008109/0.3017, allocations: 411.8 kB / 452.3 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009377/0.3026, allocations: 0.9037 MB / 453.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.3042, allocations: 1.136 MB / 454.3 MB, free: 32 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004654/0.3088, allocations: 4.142 MB / 458.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3088, allocations: 0 / 458.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3088, allocations: 0 / 458.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.911e-05/0.3089, allocations: 4 kB / 458.5 MB, free: 11.87 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005994/0.3149, allocations: 2.865 MB / 461.3 MB, free: 8.953 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.315, allocations: 16.02 kB / 461.3 MB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.424e-05/0.315, allocations: 52.22 kB / 461.4 MB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004091/0.3154, allocations: 303.4 kB / 461.7 MB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.3165, allocations: 327.1 kB / 462 MB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002767/0.3192, allocations: 1.484 MB / 463.5 MB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.3194, allocations: 160 kB / 463.6 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000327/0.3197, allocations: 207.9 kB / 463.8 MB, free: 6.363 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004687/0.3244, allocations: 2.836 MB / 466.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.518e-05/0.3245, allocations: 15.83 kB / 466.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/0.3247, allocations: 80 kB / 466.8 MB, free: 3.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.3248, allocations: 95.92 kB / 466.9 MB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003939/0.3287, allocations: 2.322 MB / 469.2 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/0.3415, allocations: 7.557 MB / 476.7 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.3435, allocations: 1.238 MB / 478 MB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001869/0.3453, allocations: 1.008 MB / 479 MB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.3455, allocations: 56.95 kB / 479.1 MB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.3456, allocations: 47.5 kB / 479.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.066e-06/0.3456, allocations: 0 / 479.1 MB, free: 6.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01304/0.3586, allocations: 5.928 MB / 485 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.3587, allocations: 64.41 kB / 485.1 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/0.361, allocations: 1.529 MB / 486.6 MB, free: 15.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.3611, allocations: 49.69 kB / 486.7 MB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000797/0.3619, allocations: 1.017 MB / 487.7 MB, free: 14.08 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003858/0.3623, allocations: 432.3 kB / 488.1 MB, free: 13.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004253/0.3627, allocations: 259.5 kB / 488.4 MB, free: 13.39 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3629, allocations: 357.9 kB / 488.7 MB, free: 13.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.364, allocations: 0.7339 MB / 489.4 MB, free: 12.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.3654, allocations: 1.052 MB / 490.5 MB, free: 11.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00263/0.368, allocations: 1.879 MB / 492.4 MB, free: 9.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/0.3681, allocations: 4 kB / 492.4 MB, free: 9.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004052/0.3721, allocations: 2.35 MB / 494.7 MB, free: 6.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.3721, allocations: 8 kB / 494.7 MB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.3721, allocations: 16.34 kB / 494.7 MB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009956/0.3731, allocations: 407.1 kB / 495.1 MB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.3744, allocations: 331.5 kB / 495.5 MB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005275/0.3797, allocations: 4.837 MB / 0.4886 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.381, allocations: 87.86 kB / 0.4887 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.3811, allocations: 56 kB / 0.4887 GB, free: 0.7773 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001221/0.3824, allocations: 0.7159 MB / 0.4894 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/0.3827, allocations: 171 kB / 0.4896 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003641/0.3864, allocations: 2.133 MB / 0.4917 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.3864, allocations: 12 kB / 0.4917 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.3864, allocations: 4 kB / 0.4917 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.3864, allocations: 3.984 kB / 0.4917 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00782/0.3942, allocations: 4.288 MB / 0.4959 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/0.3942, allocations: 7.938 kB / 0.4959 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009737/0.3952, allocations: 223.6 kB / 0.4961 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/0.3965, allocations: 479 kB / 0.4965 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.3966, allocations: 31.98 kB / 0.4966 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006667/0.4032, allocations: 6.34 MB / 0.5028 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4032, allocations: 0 / 0.5028 GB, free: 1.906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005176/0.4084, allocations: 3.185 MB / 0.5059 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.4094, allocations: 338.8 kB / 0.5062 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/0.4097, allocations: 31.92 kB / 0.5062 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008271/0.4105, allocations: 71.92 kB / 0.5063 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/0.4108, allocations: 112.7 kB / 0.5064 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.504e-05/0.4109, allocations: 35.98 kB / 0.5064 GB, free: 14.08 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001529/0.4124, allocations: 1.052 MB / 0.5075 GB, free: 13.03 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4124, allocations: 0 / 0.5075 GB, free: 13.03 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001492/0.4139, allocations: 464 kB / 0.5079 GB, free: 12.57 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,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.005402/0.4193, allocations: 3.811 MB / 0.5116 GB, free: 8.695 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003543/0.4228, allocations: 2.046 MB / 0.5136 GB, free: 6.621 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.4229, allocations: 0 / 0.5136 GB, free: 6.621 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00227/0.4251, allocations: 1.369 MB / 0.515 GB, free: 5.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/0.4273, allocations: 449.3 kB / 0.5154 GB, free: 4.785 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02753/0.4549, allocations: 17.5 MB / 0.5325 GB, free: 2.707 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001459/0.4563, allocations: 1.257 MB / 0.5337 GB, free: 1.402 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001179/0.4575, allocations: 397.6 kB / 0.5341 GB, free: 1.008 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/0.4586, allocations: 0.8039 MB / 0.5349 GB, free: 208 kB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4586, allocations: 0 / 0.5349 GB, free: 208 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2689/0.7275, allocations: 46.58 MB / 0.5804 GB, free: 68.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.62/22.34, allocations: 11.27 kB / 0.5804 GB, free: 68.1 MB / 446.1 MB " [Timeout remaining time 637] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 28.67412944789976]