Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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.0008357/0.0008357, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0009132/0.0009132, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8781/0.8781, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.188e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01258/0.01261, allocations: 15.21 MB / 339.8 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009717/0.02232, allocations: 5.673 MB / 345.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002945/0.02527, allocations: 143.1 kB / 345.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003581/0.02885, allocations: 1.351 MB / 347 MB, free: 9.445 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005614/0.03446, allocations: 1.867 MB / 348.8 MB, free: 7.566 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.03702, allocations: 1.083 MB / 349.9 MB, free: 6.484 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007247/0.04427, allocations: 6.625 MB / 356.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003896/0.04816, allocations: 2.763 MB / 359.3 MB, free: 12.99 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007319/0.05548, allocations: 4.412 MB / 363.7 MB, free: 8.578 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004591/0.06007, allocations: 2.927 MB / 366.6 MB, free: 5.645 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001703/0.06177, allocations: 0.789 MB / 367.4 MB, free: 4.855 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.06436, allocations: 1.062 MB / 368.5 MB, free: 3.793 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001915/0.06627, allocations: 1.928 MB / 370.4 MB, free: 1.859 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004148/0.07042, allocations: 2.296 MB / 372.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.0817, allocations: 10.71 MB / 383.4 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.08171, allocations: 0 / 383.4 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.08171, allocations: 0 / 383.4 MB, free: 4.816 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003134/0.08203, allocations: 0 / 383.4 MB, free: 4.816 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01451/0.09654, allocations: 6.568 MB / 390 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.09659, allocations: 8.031 kB / 390 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00143/0.09802, allocations: 0.6789 MB / 390.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002936/0.101, allocations: 1.09 MB / 391.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005617/0.1066, allocations: 3.63 MB / 395.4 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/0.1069, allocations: 366.1 kB / 395.8 MB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001179/0.108, allocations: 483.9 kB / 396.2 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01236/0.1204, allocations: 7.182 MB / 403.4 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.971e-05/0.1205, allocations: 11.89 kB / 403.4 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003286/0.1208, allocations: 200 kB / 403.6 MB, free: 316 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/0.121, allocations: 237.8 kB / 403.9 MB, free: 76 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008156/0.1291, allocations: 5.937 MB / 409.8 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02517/0.1543, allocations: 18.63 MB / 428.4 MB, free: 7.082 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004766/0.1591, allocations: 4.47 MB / 432.9 MB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002691/0.1618, allocations: 2.309 MB / 435.2 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007673/0.1694, allocations: 5.646 MB / 440.8 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003266/0.1698, allocations: 72.47 kB / 440.9 MB, free: 10.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=219): time 3.427e-06/0.1698, allocations: 0 / 440.9 MB, free: 10.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.0128/0.1826, allocations: 8.977 MB / 449.9 MB, free: 1.805 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.1826, allocations: 77.41 kB / 450 MB, free: 1.719 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1572/0.3398, allocations: 3.039 MB / 453 MB, free: 110.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005494/0.3404, allocations: 65.8 kB / 453.1 MB, free: 110.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001571/0.3419, allocations: 2.229 MB / 455.3 MB, free: 109.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009738/0.3429, allocations: 0.7887 MB / 456.1 MB, free: 109.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006933/0.3436, allocations: 467.6 kB / 456.5 MB, free: 109 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.805e-05/0.3437, allocations: 306 kB / 456.8 MB, free: 108.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.3451, allocations: 1.288 MB / 458.1 MB, free: 108.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.3466, allocations: 1.938 MB / 460.1 MB, free: 107 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002629/0.3492, allocations: 3.349 MB / 463.4 MB, free: 105.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.3492, allocations: 7.781 kB / 463.4 MB, free: 105.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.004386/0.3536, allocations: 4.179 MB / 467.6 MB, free: 103.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.3537, allocations: 12 kB / 467.6 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.3537, allocations: 20 kB / 467.6 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.355, allocations: 0.767 MB / 468.4 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.3561, allocations: 0.5662 MB / 469 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005607/0.3618, allocations: 10.34 MB / 479.3 MB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.3636, allocations: 102 kB / 479.4 MB, free: 92.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.3638, allocations: 104 kB / 479.5 MB, free: 91.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,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 (278): * Single equations (assignments): 273 * 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 {(3,25,77.8%), (1,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.001886/0.3657, allocations: 1.625 MB / 481.1 MB, free: 90.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006677/0.3663, allocations: 333.8 kB / 481.5 MB, free: 90.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/0.3702, allocations: 3.732 MB / 485.2 MB, free: 86.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.3702, allocations: 27.98 kB / 485.2 MB, free: 86.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.3702, allocations: 8 kB / 485.2 MB, free: 86.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.3702, allocations: 11.97 kB / 485.2 MB, free: 86.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008864/0.3791, allocations: 7.899 MB / 493.1 MB, free: 78.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.3791, allocations: 0 / 493.1 MB, free: 78.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007766/0.3798, allocations: 347.8 kB / 493.5 MB, free: 77.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001528/0.3814, allocations: 0.9416 MB / 494.4 MB, free: 76.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.86e-05/0.3815, allocations: 63.97 kB / 494.5 MB, free: 76.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00763/0.3891, allocations: 14.95 MB / 0.4975 GB, free: 61.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3891, allocations: 4.031 kB / 0.4975 GB, free: 61.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005293/0.3944, allocations: 5.533 MB / 0.5029 GB, free: 55.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00129/0.3957, allocations: 0.6482 MB / 0.5035 GB, free: 55.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/0.3959, allocations: 51.98 kB / 0.5036 GB, free: 55.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007326/0.3967, allocations: 107.9 kB / 0.5037 GB, free: 54.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/0.397, allocations: 205.6 kB / 0.5039 GB, free: 54.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.312e-05/0.3971, allocations: 59.98 kB / 0.5039 GB, free: 54.68 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001839/0.3989, allocations: 2.082 MB / 0.506 GB, free: 52.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3989, allocations: 0 / 0.506 GB, free: 52.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002156/0.4011, allocations: 0.9374 MB / 0.5069 GB, free: 51.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * 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,8,100.0%), (3,25,88.9%), (1,1,100.0%), (1,8,100.0%), (1,13,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.005222/0.4063, allocations: 6.262 MB / 0.513 GB, free: 45.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00465/0.4109, allocations: 3.704 MB / 0.5166 GB, free: 41.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.4109, allocations: 4.062 kB / 0.5166 GB, free: 41.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002604/0.4135, allocations: 2.547 MB / 0.5191 GB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.4161, allocations: 0.929 MB / 0.52 GB, free: 38.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0404/0.4565, allocations: 33.74 MB / 0.553 GB, free: 3.523 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001939/0.4585, allocations: 2.926 MB / 0.5558 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00168/0.4601, allocations: 0.7606 MB / 0.5566 GB, free: 15.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001747/0.4619, allocations: 1.851 MB / 0.5584 GB, free: 13.93 MB / 426.7 MB Notification: Performance of SimCode: time 1.763e-06/0.4619, allocations: 0 / 0.5584 GB, free: 13.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2359/0.6978, allocations: 90.85 MB / 0.6471 GB, free: 143 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.625/10.32, allocations: 4.266 kB / 0.6471 GB, free: 143 MB / 474.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 16.994393141008914]