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.001705/0.001705, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001921/0.001921, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.486/1.486, allocations: 230.6 MB / 254.1 MB, free: 15.09 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 47.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1124, allocations: 53.33 MB / 426.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.2205/0.3329, allocations: 9.476 MB / 435.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005863/0.3387, allocations: 3.048 MB / 438.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.3405, allocations: 59.84 kB / 438.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.3424, allocations: 0.6762 MB / 439.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.3452, allocations: 0.811 MB / 440.4 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.3463, allocations: 363.8 kB / 440.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003906/0.3502, allocations: 2.675 MB / 443.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/0.3524, allocations: 1.533 MB / 445 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.3547, allocations: 1.227 MB / 446.2 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002916/0.3576, allocations: 1.541 MB / 447.7 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.3587, allocations: 306.8 kB / 448 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.3605, allocations: 414.1 kB / 448.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001231/0.3617, allocations: 0.8976 MB / 449.3 MB, free: 136 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003007/0.3647, allocations: 1.411 MB / 450.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007343/0.3721, allocations: 4.113 MB / 454.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.3721, allocations: 0 / 454.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3721, allocations: 0 / 454.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001635/0.3722, allocations: 2.406 kB / 454.9 MB, free: 13.45 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.009946/0.3822, allocations: 2.938 MB / 457.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/0.3822, allocations: 9.844 kB / 457.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006971/0.3829, allocations: 304.7 kB / 458.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.3843, allocations: 330.8 kB / 458.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003608/0.3879, allocations: 1.562 MB / 460 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.388, allocations: 150.6 kB / 460.1 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004263/0.3885, allocations: 208.2 kB / 460.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006193/0.3946, allocations: 2.733 MB / 463.1 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.024e-05/0.3947, allocations: 7.891 kB / 463.1 MB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002712/0.395, allocations: 83.19 kB / 463.2 MB, free: 8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.3951, allocations: 92.31 kB / 463.2 MB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00512/0.4002, allocations: 2.329 MB / 465.6 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0181/0.4183, allocations: 8.334 MB / 473.9 MB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/0.421, allocations: 1.712 MB / 475.6 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002297/0.4233, allocations: 1.006 MB / 476.6 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002989/0.4236, allocations: 122.9 kB / 476.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.4237, allocations: 47.56 kB / 476.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.306e-06/0.4237, allocations: 0 / 476.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01553/0.4392, allocations: 6.229 MB / 483 MB, free: 7.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.4393, allocations: 64.41 kB / 483.1 MB, free: 7.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00312/0.4424, allocations: 1.529 MB / 484.6 MB, free: 5.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.4425, allocations: 49.64 kB / 484.7 MB, free: 5.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009519/0.4435, allocations: 1.021 MB / 485.7 MB, free: 4.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004573/0.4439, allocations: 440.3 kB / 486.1 MB, free: 4.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005083/0.4444, allocations: 247.5 kB / 486.4 MB, free: 4.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.4446, allocations: 361.9 kB / 486.7 MB, free: 3.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.446, allocations: 0.7306 MB / 487.4 MB, free: 3.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.4476, allocations: 1.055 MB / 488.5 MB, free: 1.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/0.4505, allocations: 1.886 MB / 490.4 MB, free: 15.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.4505, allocations: 4 kB / 490.4 MB, free: 15.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004888/0.4554, allocations: 2.347 MB / 492.7 MB, free: 13.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.4555, allocations: 8 kB / 492.7 MB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.4555, allocations: 15.94 kB / 492.8 MB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.4566, allocations: 407.3 kB / 493.2 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.458, allocations: 327.5 kB / 493.5 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006091/0.464, allocations: 5.066 MB / 498.5 MB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.4656, allocations: 99.8 kB / 498.6 MB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/0.4659, allocations: 48 kB / 498.7 MB, free: 7.25 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.001589/0.4675, allocations: 0.7198 MB / 499.4 MB, free: 6.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005289/0.468, allocations: 166.9 kB / 499.6 MB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/0.4725, allocations: 2.133 MB / 0.4899 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.4725, allocations: 12 kB / 0.4899 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.4726, allocations: 4 kB / 0.49 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.4726, allocations: 5.719 kB / 0.49 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/0.4827, allocations: 4.558 MB / 0.4944 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.4827, allocations: 8.031 kB / 0.4944 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.4837, allocations: 219.7 kB / 0.4946 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.4851, allocations: 466.8 kB / 0.4951 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.4852, allocations: 34.98 kB / 0.4951 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007733/0.493, allocations: 6.693 MB / 0.5016 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.493, allocations: 0 / 0.5016 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006263/0.4992, allocations: 3.193 MB / 0.5048 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/0.5004, allocations: 403.9 kB / 0.5051 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005364/0.5009, allocations: 27.98 kB / 0.5052 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.5021, allocations: 76.66 kB / 0.5052 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003852/0.5025, allocations: 112.7 kB / 0.5054 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.5026, allocations: 35.98 kB / 0.5054 GB, free: 3.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002329/0.505, allocations: 1.052 MB / 0.5064 GB, free: 2.727 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.505, allocations: 0 / 0.5064 GB, free: 2.727 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002191/0.5072, allocations: 467.9 kB / 0.5069 GB, free: 2.27 MB / 414.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.00636/0.5135, allocations: 3.814 MB / 0.5106 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004198/0.5177, allocations: 2.204 MB / 0.5127 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.5177, allocations: 0 / 0.5127 GB, free: 12.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002683/0.5204, allocations: 1.441 MB / 0.5141 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/0.5236, allocations: 443.9 kB / 0.5146 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03407/0.5577, allocations: 17.47 MB / 0.5316 GB, free: 8.148 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002364/0.5601, allocations: 1.83 MB / 0.5334 GB, free: 6.285 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001407/0.5615, allocations: 393.6 kB / 0.5338 GB, free: 5.895 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/0.5628, allocations: 0.8 MB / 0.5346 GB, free: 5.094 MB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5628, allocations: 0 / 0.5346 GB, free: 5.094 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1208/0.6836, allocations: 43.77 MB / 0.5773 GB, free: 9.746 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 21.18/21.87, allocations: 4 kB / 0.5773 GB, free: 9.742 MB / 494.1 MB " [Timeout remaining time 638] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 26.412020371994004]