Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.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.001353/0.001353, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.001614/0.001614, allocations: 214.4 kB / 24.47 MB, free: 3.793 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 207.7 MB / 235.3 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 58.58 kB / 347.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3205, allocations: 49.15 MB / 396.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.0136/0.3341, allocations: 11.88 MB / 408.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.3445, allocations: 4.229 MB / 412.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00305/0.3475, allocations: 86.88 kB / 412.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003676/0.3512, allocations: 0.9857 MB / 413.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005561/0.3567, allocations: 1.299 MB / 414.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002766/0.3595, allocations: 0.9034 MB / 415.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006384/0.3659, allocations: 4.125 MB / 419.9 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00295/0.3688, allocations: 1.696 MB / 421.6 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003925/0.3728, allocations: 1.954 MB / 423.5 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004263/0.377, allocations: 1.967 MB / 425.5 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001085/0.3781, allocations: 0.5066 MB / 426 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.3804, allocations: 0.6951 MB / 426.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.3817, allocations: 1.122 MB / 427.8 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002878/0.3846, allocations: 1.688 MB / 429.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008485/0.3931, allocations: 6.743 MB / 436.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3931, allocations: 0 / 436.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3931, allocations: 0 / 436.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001439/0.3932, allocations: 4 kB / 436.3 MB, free: 11.06 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.0124/0.4056, allocations: 4.412 MB / 440.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.4057, allocations: 11.98 kB / 440.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007994/0.4065, allocations: 459.8 kB / 441.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004432/0.4109, allocations: 0.83 MB / 442 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005441/0.4164, allocations: 2.209 MB / 444.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/0.4166, allocations: 250.8 kB / 444.4 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006225/0.4172, allocations: 331.8 kB / 444.7 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008382/0.4256, allocations: 4.413 MB / 449.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.418e-05/0.4257, allocations: 3.938 kB / 449.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003122/0.426, allocations: 136 kB / 449.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001766/0.4262, allocations: 150.4 kB / 449.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006541/0.4327, allocations: 3.582 MB / 453 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02169/0.4544, allocations: 12.28 MB / 465.3 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005134/0.4595, allocations: 2.56 MB / 467.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002436/0.462, allocations: 1.269 MB / 469.1 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007063/0.469, allocations: 3.048 MB / 472.2 MB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.211e-05/0.4691, allocations: 51.88 kB / 472.2 MB, free: 6.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 4.118e-06/0.4691, allocations: 0 / 472.2 MB, free: 6.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01412/0.4832, allocations: 5.222 MB / 477.4 MB, free: 1.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.4833, allocations: 68.72 kB / 477.5 MB, free: 1.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004556/0.4879, allocations: 1.811 MB / 479.3 MB, free: 15.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003203/0.4882, allocations: 53.7 kB / 479.4 MB, free: 15.37 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001554/0.4897, allocations: 1.478 MB / 480.8 MB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.4908, allocations: 0.4919 MB / 481.3 MB, free: 13.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/0.492, allocations: 315.4 kB / 481.6 MB, free: 13.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.4922, allocations: 301.1 kB / 481.9 MB, free: 12.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.4939, allocations: 0.6832 MB / 482.6 MB, free: 12.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/0.4957, allocations: 1.222 MB / 483.8 MB, free: 10.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003399/0.4991, allocations: 2.007 MB / 485.9 MB, free: 8.402 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.141e-05/0.4992, allocations: 7.938 kB / 485.9 MB, free: 8.395 MB / 398.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004999/0.5042, allocations: 2.457 MB / 488.3 MB, free: 5.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.5042, allocations: 12 kB / 488.3 MB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/0.5042, allocations: 16 kB / 488.3 MB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.5053, allocations: 360.3 kB / 488.7 MB, free: 5.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.5068, allocations: 383.4 kB / 489.1 MB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009389/0.5162, allocations: 7.939 MB / 497 MB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.5177, allocations: 75.95 kB / 497.1 MB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/0.5179, allocations: 68.09 kB / 497.2 MB, free: 12.61 MB / 414.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.001967/0.5199, allocations: 1.005 MB / 498.2 MB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004957/0.5204, allocations: 202.7 kB / 498.4 MB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004323/0.5247, allocations: 2.116 MB / 0.4887 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.5247, allocations: 16 kB / 0.4888 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/0.5247, allocations: 8 kB / 0.4888 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.5247, allocations: 3.984 kB / 0.4888 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009281/0.534, allocations: 4.608 MB / 0.4933 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.534, allocations: 4.188 kB / 0.4933 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000819/0.5348, allocations: 171.8 kB / 0.4934 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/0.5364, allocations: 0.5361 MB / 0.494 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.5365, allocations: 35.98 kB / 0.494 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01492/0.5514, allocations: 12.5 MB / 0.5062 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.5515, allocations: 4.031 kB / 0.5062 GB, free: 6.566 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005783/0.5572, allocations: 3.053 MB / 0.5092 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/0.5585, allocations: 358.6 kB / 0.5095 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002403/0.5587, allocations: 35.94 kB / 0.5096 GB, free: 3.07 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008452/0.5596, allocations: 67.94 kB / 0.5096 GB, free: 3.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003064/0.5599, allocations: 113.1 kB / 0.5097 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.174e-05/0.56, allocations: 35.98 kB / 0.5098 GB, free: 2.859 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002563/0.5625, allocations: 1.223 MB / 0.511 GB, free: 1.645 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5625, allocations: 0 / 0.511 GB, free: 1.645 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003817/0.5663, allocations: 0.5742 MB / 0.5115 GB, free: 1.07 MB / 430.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.00882/0.5752, allocations: 3.664 MB / 0.5151 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005673/0.5808, allocations: 2.208 MB / 0.5173 GB, free: 11.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.5808, allocations: 3.938 kB / 0.5173 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003923/0.5848, allocations: 1.691 MB / 0.5189 GB, free: 9.305 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004161/0.5889, allocations: 0.553 MB / 0.5195 GB, free: 8.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05552/0.6444, allocations: 20.1 MB / 0.5391 GB, free: 3.941 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003167/0.6476, allocations: 1.755 MB / 0.5408 GB, free: 2.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001648/0.6493, allocations: 397 kB / 0.5412 GB, free: 1.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001964/0.6512, allocations: 1.132 MB / 0.5423 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of SimCode: time 1.403e-06/0.6512, allocations: 3.938 kB / 0.5423 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3898/1.041, allocations: 57.17 MB / 0.5981 GB, free: 124.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.74, allocations: 3.938 kB / 0.5981 GB, free: 124.4 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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: 19.501462451182306]