Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001354/0.001354, allocations: 114 kB / 20.43 MB, free: 1.457 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.001659/0.001659, allocations: 214 kB / 23.74 MB, free: 4.672 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 / 257.4 MB, free: 8.012 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 63.89 kB / 377.8 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3067, allocations: 53.4 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01815/0.3249, allocations: 14.38 MB / 445.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.3366, allocations: 4.723 MB / 450.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003808/0.3405, allocations: 103.4 kB / 450.4 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003944/0.3444, allocations: 1.056 MB / 451.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005797/0.3502, allocations: 1.348 MB / 452.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00373/0.3539, allocations: 0.9616 MB / 453.8 MB, free: 40 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007258/0.3612, allocations: 4.149 MB / 457.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004116/0.3653, allocations: 1.801 MB / 459.7 MB, free: 10 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004017/0.3693, allocations: 1.959 MB / 461.7 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004419/0.3737, allocations: 2.246 MB / 463.9 MB, free: 5.781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001505/0.3752, allocations: 0.5078 MB / 464.4 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00236/0.3776, allocations: 0.738 MB / 465.2 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001794/0.3794, allocations: 1.126 MB / 466.3 MB, free: 3.406 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004212/0.3836, allocations: 2.143 MB / 468.5 MB, free: 1.254 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.3937, allocations: 6.767 MB / 475.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3937, allocations: 4 kB / 475.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3937, allocations: 0 / 475.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002186/0.394, allocations: 0 / 475.2 MB, free: 10.46 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.01404/0.408, allocations: 4.454 MB / 479.7 MB, free: 5.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.4081, allocations: 8.031 kB / 479.7 MB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001347/0.4094, allocations: 455.8 kB / 480.1 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004894/0.4143, allocations: 0.8261 MB / 481 MB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006636/0.4209, allocations: 2.416 MB / 483.4 MB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/0.4213, allocations: 246.6 kB / 483.6 MB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009627/0.4222, allocations: 323.9 kB / 483.9 MB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009922/0.4321, allocations: 4.274 MB / 488.2 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-05/0.4322, allocations: 7.953 kB / 488.2 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003236/0.4326, allocations: 124 kB / 488.3 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001818/0.4327, allocations: 150.4 kB / 488.5 MB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006622/0.4394, allocations: 3.609 MB / 492.1 MB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02264/0.462, allocations: 13.51 MB / 0.4937 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005008/0.467, allocations: 2.597 MB / 0.4963 GB, free: 9.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/0.4693, allocations: 1.292 MB / 0.4975 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006766/0.4761, allocations: 3.415 MB / 0.5009 GB, free: 4.312 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/0.4761, allocations: 51.88 kB / 0.5009 GB, free: 4.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=134): time 2.876e-06/0.4761, allocations: 0 / 0.5009 GB, free: 4.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=137): time 0.012/0.4881, allocations: 5.233 MB / 0.506 GB, free: 14.97 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.4882, allocations: 64.72 kB / 0.5061 GB, free: 14.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/0.4909, allocations: 1.809 MB / 0.5079 GB, free: 13.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.226e-05/0.491, allocations: 49.7 kB / 0.5079 GB, free: 13.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.4923, allocations: 1.49 MB / 0.5094 GB, free: 11.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004416/0.4927, allocations: 499.7 kB / 0.5098 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005411/0.4933, allocations: 323.4 kB / 0.5102 GB, free: 10.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4934, allocations: 309.1 kB / 0.5104 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.4945, allocations: 0.6832 MB / 0.5111 GB, free: 9.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001601/0.4961, allocations: 1.193 MB / 0.5123 GB, free: 8.312 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/0.499, allocations: 1.999 MB / 0.5142 GB, free: 6.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.4991, allocations: 12 kB / 0.5142 GB, free: 6.078 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004473/0.5035, allocations: 2.476 MB / 0.5167 GB, free: 3.578 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.5036, allocations: 12 kB / 0.5167 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.742e-05/0.5036, allocations: 19.94 kB / 0.5167 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.5046, allocations: 360 kB / 0.517 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.506, allocations: 375.4 kB / 0.5174 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008754/0.5147, allocations: 7.989 MB / 0.5252 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.5164, allocations: 79.91 kB / 0.5253 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.5165, allocations: 76 kB / 0.5253 GB, free: 10.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (192): * Single equations (assignments): 187 * 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 {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002448/0.519, allocations: 1.009 MB / 0.5263 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003669/0.5194, allocations: 210.6 kB / 0.5265 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/0.5235, allocations: 2.116 MB / 0.5286 GB, free: 6.848 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.5235, allocations: 16 kB / 0.5286 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.5235, allocations: 8 kB / 0.5286 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.5235, allocations: 7.969 kB / 0.5286 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008989/0.5325, allocations: 4.897 MB / 0.5334 GB, free: 1.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.5325, allocations: 4 kB / 0.5334 GB, free: 1.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007889/0.5333, allocations: 171.7 kB / 0.5336 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/0.5347, allocations: 0.5392 MB / 0.5341 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.5349, allocations: 43.92 kB / 0.5341 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2351/0.7699, allocations: 12.61 MB / 0.5465 GB, free: 89.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.7699, allocations: 0 / 0.5465 GB, free: 89.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005325/0.7753, allocations: 3.071 MB / 0.5495 GB, free: 87.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.7764, allocations: 369.9 kB / 0.5498 GB, free: 87.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/0.7766, allocations: 30.31 kB / 0.5498 GB, free: 87.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008578/0.7775, allocations: 67.61 kB / 0.5499 GB, free: 87.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000288/0.7777, allocations: 114.8 kB / 0.55 GB, free: 87.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-05/0.7778, allocations: 39.05 kB / 0.55 GB, free: 87.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001511/0.7793, allocations: 1.233 MB / 0.5512 GB, free: 87.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7793, allocations: 0 / 0.5512 GB, free: 87.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002195/0.7815, allocations: 0.5892 MB / 0.5518 GB, free: 87.26 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004362/0.7859, allocations: 3.688 MB / 0.5554 GB, free: 85.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00303/0.7889, allocations: 2.202 MB / 0.5576 GB, free: 84.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.7889, allocations: 3.688 kB / 0.5576 GB, free: 84.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001938/0.7909, allocations: 1.692 MB / 0.5592 GB, free: 83.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.7928, allocations: 0.5547 MB / 0.5598 GB, free: 82.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.024/0.8168, allocations: 20.12 MB / 0.5794 GB, free: 64.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/0.8183, allocations: 2.315 MB / 0.5817 GB, free: 61.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00112/0.8194, allocations: 401.2 kB / 0.5821 GB, free: 61.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.8205, allocations: 1.144 MB / 0.5832 GB, free: 60.34 MB / 446.1 MB Notification: Performance of SimCode: time 1.293e-06/0.8205, allocations: 0 / 0.5832 GB, free: 60.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/0.931, allocations: 55.62 MB / 0.6375 GB, free: 5.133 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/16.2, allocations: 4 kB / 0.6375 GB, free: 5.129 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Steinmetz.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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: 20.7453677598387]