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.002052/0.002052, allocations: 109.6 kB / 21.18 MB, free: 0.5547 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.001677/0.001677, allocations: 208.3 kB / 24.49 MB, free: 3.906 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.467/1.467, allocations: 207.6 MB / 235.3 MB, free: 10 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.002113/0.002113, allocations: 51.92 kB / 347.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2953, allocations: 49.16 MB / 396.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.0142/0.3095, allocations: 13.7 MB / 410.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01226/0.3218, allocations: 4.461 MB / 414.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003963/0.3257, allocations: 86.53 kB / 414.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004566/0.3303, allocations: 1.048 MB / 415.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006464/0.3367, allocations: 1.32 MB / 417 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003419/0.3402, allocations: 0.9318 MB / 417.9 MB, free: 9.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008429/0.3486, allocations: 4.122 MB / 422 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004706/0.3533, allocations: 1.782 MB / 423.8 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004474/0.3578, allocations: 1.942 MB / 425.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004991/0.3628, allocations: 2.11 MB / 427.9 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001942/0.3647, allocations: 0.5178 MB / 428.4 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003123/0.3678, allocations: 0.7107 MB / 429.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002049/0.3699, allocations: 1.126 MB / 430.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005133/0.375, allocations: 2.132 MB / 432.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.3866, allocations: 6.721 MB / 439.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3866, allocations: 0 / 439.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3866, allocations: 0 / 439.1 MB, free: 8.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002461/0.3868, allocations: 0 / 439.1 MB, free: 8.426 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.01526/0.4021, allocations: 4.424 MB / 443.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.4021, allocations: 15.98 kB / 443.5 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001642/0.4038, allocations: 455.8 kB / 444 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005225/0.409, allocations: 0.8339 MB / 444.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006351/0.4153, allocations: 2.232 MB / 447 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003604/0.4157, allocations: 242.8 kB / 447.3 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001261/0.417, allocations: 335.8 kB / 447.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/0.4299, allocations: 4.267 MB / 451.9 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001565/0.43, allocations: 7.922 kB / 451.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008288/0.4308, allocations: 132 kB / 452 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001997/0.431, allocations: 146.4 kB / 452.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008923/0.44, allocations: 3.594 MB / 455.7 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02824/0.4682, allocations: 13.48 MB / 469.2 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005768/0.474, allocations: 2.574 MB / 471.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002713/0.4767, allocations: 1.277 MB / 473.1 MB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007972/0.4847, allocations: 3.368 MB / 476.4 MB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.151e-05/0.4847, allocations: 63.75 kB / 476.5 MB, free: 2.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 4.378e-06/0.4847, allocations: 0 / 476.5 MB, free: 2.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01457/0.4993, allocations: 5.21 MB / 481.7 MB, free: 13.28 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.4994, allocations: 72.72 kB / 481.8 MB, free: 13.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003852/0.5032, allocations: 1.792 MB / 483.6 MB, free: 11.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001995/0.5034, allocations: 49.7 kB / 483.6 MB, free: 11.35 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001491/0.5049, allocations: 1.466 MB / 485.1 MB, free: 9.871 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000608/0.5055, allocations: 0.4919 MB / 485.6 MB, free: 9.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006576/0.5062, allocations: 311.4 kB / 485.9 MB, free: 9.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.5063, allocations: 313.1 kB / 486.2 MB, free: 8.758 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.5077, allocations: 0.6754 MB / 486.9 MB, free: 8.082 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00193/0.5096, allocations: 1.197 MB / 488.1 MB, free: 6.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003305/0.5129, allocations: 2.003 MB / 490.1 MB, free: 4.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.039e-05/0.5129, allocations: 4 kB / 490.1 MB, free: 4.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00509/0.518, allocations: 2.461 MB / 492.5 MB, free: 1.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/0.5181, allocations: 12 kB / 492.5 MB, free: 1.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.118e-05/0.5181, allocations: 19.94 kB / 492.6 MB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.5192, allocations: 360.2 kB / 492.9 MB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.5208, allocations: 379.4 kB / 493.3 MB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/0.5309, allocations: 8.009 MB / 0.4895 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.5327, allocations: 83.84 kB / 0.4896 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003371/0.533, allocations: 72 kB / 0.4897 GB, free: 8.559 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.002511/0.5355, allocations: 1.009 MB / 0.4907 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006818/0.5362, allocations: 206.7 kB / 0.4909 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004874/0.5411, allocations: 2.111 MB / 0.4929 GB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.5411, allocations: 16 kB / 0.4929 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-05/0.5411, allocations: 8 kB / 0.4929 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.488e-05/0.5412, allocations: 7.969 kB / 0.493 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.5523, allocations: 4.877 MB / 0.4977 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.5523, allocations: 0 / 0.4977 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008838/0.5532, allocations: 180 kB / 0.4979 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/0.5548, allocations: 0.5319 MB / 0.4984 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/0.5549, allocations: 39.98 kB / 0.4984 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01548/0.5704, allocations: 12.61 MB / 0.5108 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.5704, allocations: 7.969 kB / 0.5108 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006192/0.5766, allocations: 3.041 MB / 0.5137 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.5778, allocations: 370.5 kB / 0.5141 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005517/0.5784, allocations: 28 kB / 0.5141 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.5796, allocations: 71.94 kB / 0.5142 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003387/0.5799, allocations: 109.1 kB / 0.5143 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.58, allocations: 40 kB / 0.5143 GB, free: 14.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002611/0.5827, allocations: 1.219 MB / 0.5155 GB, free: 13.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5827, allocations: 0 / 0.5155 GB, free: 13.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002799/0.5855, allocations: 0.582 MB / 0.5161 GB, free: 12.62 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.006939/0.5924, allocations: 3.663 MB / 0.5197 GB, free: 8.891 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004385/0.5968, allocations: 2.212 MB / 0.5218 GB, free: 6.625 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.5968, allocations: 0 / 0.5218 GB, free: 6.625 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003148/0.5999, allocations: 1.695 MB / 0.5235 GB, free: 4.852 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/0.6035, allocations: 0.545 MB / 0.524 GB, free: 4.305 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04347/0.6469, allocations: 20.13 MB / 0.5437 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003539/0.6505, allocations: 2.311 MB / 0.5459 GB, free: 13.13 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001642/0.6521, allocations: 397 kB / 0.5463 GB, free: 12.74 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002175/0.6543, allocations: 1.128 MB / 0.5474 GB, free: 11.61 MB / 478.1 MB Notification: Performance of SimCode: time 1.412e-06/0.6543, allocations: 0 / 0.5474 GB, free: 11.61 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3503/1.005, allocations: 55.19 MB / 0.6013 GB, free: 121.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.66, allocations: 8 kB / 0.6013 GB, free: 121.3 MB / 478.1 MB " [Timeout remaining time 643] (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: 21.223629899788648]