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.00185/0.00185, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002309/0.002309, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.526/1.526, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.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 0.001739/0.001739, allocations: 47.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1206, allocations: 53.33 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.247/0.3677, allocations: 17.52 MB / 443.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01451/0.3822, allocations: 5.969 MB / 449.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004797/0.387, allocations: 141.9 kB / 450 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005391/0.3924, allocations: 1.413 MB / 451.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007884/0.4002, allocations: 1.828 MB / 453.2 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004267/0.4045, allocations: 1.085 MB / 454.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01292/0.4174, allocations: 6.339 MB / 460.6 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005947/0.4234, allocations: 3.764 MB / 464.4 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007094/0.4305, allocations: 3.025 MB / 467.4 MB, free: 3.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008025/0.4385, allocations: 3.52 MB / 470.9 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002374/0.4409, allocations: 0.7896 MB / 471.7 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004185/0.445, allocations: 1.087 MB / 472.8 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002695/0.4477, allocations: 1.884 MB / 474.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008025/0.4558, allocations: 3.361 MB / 478.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01833/0.4741, allocations: 10.6 MB / 488.7 MB, free: 2.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.4741, allocations: 0 / 488.7 MB, free: 2.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4741, allocations: 0 / 488.7 MB, free: 2.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003879/0.4745, allocations: 0 / 488.7 MB, free: 2.527 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.02098/0.4955, allocations: 6.699 MB / 495.3 MB, free: 11.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.4955, allocations: 12.03 kB / 495.4 MB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0021/0.4976, allocations: 0.675 MB / 496 MB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006414/0.504, allocations: 1.094 MB / 497.1 MB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009328/0.5134, allocations: 3.71 MB / 0.4891 GB, free: 6.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004655/0.5138, allocations: 373.7 kB / 0.4895 GB, free: 5.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/0.5157, allocations: 480.9 kB / 0.4899 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01955/0.5353, allocations: 6.885 MB / 0.4966 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002382/0.5355, allocations: 8.75 kB / 0.4966 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001594/0.5371, allocations: 196 kB / 0.4968 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003296/0.5374, allocations: 237.8 kB / 0.4971 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.5527, allocations: 5.949 MB / 0.5029 GB, free: 7.965 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04608/0.5988, allocations: 20.8 MB / 0.5232 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01245/0.6113, allocations: 9.749 MB / 0.5327 GB, free: 7.973 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004925/0.6162, allocations: 2.309 MB / 0.535 GB, free: 5.656 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01477/0.631, allocations: 6.74 MB / 0.5415 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.998e-05/0.631, allocations: 60.56 kB / 0.5416 GB, free: 14.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=219): time 4.758e-06/0.631, allocations: 0 / 0.5416 GB, free: 14.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=226): time 0.02234/0.6534, allocations: 9.734 MB / 0.5511 GB, free: 4.742 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.804e-05/0.6535, allocations: 85.33 kB / 0.5512 GB, free: 4.645 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006505/0.66, allocations: 3.014 MB / 0.5541 GB, free: 1.617 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000448/0.6604, allocations: 69.7 kB / 0.5542 GB, free: 1.543 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002109/0.6625, allocations: 2.225 MB / 0.5564 GB, free: 15.3 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001151/0.6637, allocations: 0.7979 MB / 0.5571 GB, free: 14.49 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001448/0.6651, allocations: 469.2 kB / 0.5576 GB, free: 14.03 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.6653, allocations: 308.9 kB / 0.5579 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/0.6678, allocations: 1.297 MB / 0.5592 GB, free: 12.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003007/0.6708, allocations: 1.916 MB / 0.561 GB, free: 10.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005547/0.6764, allocations: 3.336 MB / 0.5643 GB, free: 6.66 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.942e-05/0.6764, allocations: 8 kB / 0.5643 GB, free: 6.652 MB / 478.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.008262/0.6846, allocations: 4.254 MB / 0.5684 GB, free: 2.355 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.6847, allocations: 16.06 kB / 0.5685 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.38e-05/0.6847, allocations: 20 kB / 0.5685 GB, free: 2.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002701/0.6874, allocations: 0.7697 MB / 0.5692 GB, free: 1.539 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00246/0.6899, allocations: 0.5617 MB / 0.5698 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/0.7023, allocations: 10.88 MB / 0.5804 GB, free: 5.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/0.7048, allocations: 107.9 kB / 0.5805 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004943/0.7053, allocations: 100 kB / 0.5806 GB, free: 5.328 MB / 494.1 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.003391/0.7087, allocations: 1.612 MB / 0.5822 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/0.7097, allocations: 337.9 kB / 0.5825 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007986/0.7177, allocations: 3.894 MB / 0.5863 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/0.7177, allocations: 24 kB / 0.5863 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.718e-05/0.7178, allocations: 8 kB / 0.5863 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.627e-05/0.7178, allocations: 11.97 kB / 0.5864 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/0.7367, allocations: 8.537 MB / 0.5947 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/0.7367, allocations: 7.984 kB / 0.5947 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/0.7386, allocations: 347.8 kB / 0.595 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003471/0.742, allocations: 0.9492 MB / 0.596 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002918/0.7423, allocations: 55.97 kB / 0.596 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0204/0.7627, allocations: 15.77 MB / 0.6114 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/0.7627, allocations: 8.031 kB / 0.6114 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2345/0.9972, allocations: 5.682 MB / 0.617 GB, free: 157.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/0.9991, allocations: 0.7068 MB / 0.6177 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005343/0.9997, allocations: 51.61 kB / 0.6177 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/1.001, allocations: 105.7 kB / 0.6178 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004875/1.002, allocations: 193 kB / 0.618 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/1.002, allocations: 64.61 kB / 0.618 GB, free: 157.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003297/1.005, allocations: 2.08 MB / 0.6201 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/1.005, allocations: 0.5625 kB / 0.6201 GB, free: 157.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003381/1.009, allocations: 0.9429 MB / 0.621 GB, free: 157.4 MB / 0.5137 GB 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.01084/1.019, allocations: 6.404 MB / 0.6273 GB, free: 155.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006163/1.026, allocations: 3.784 MB / 0.6309 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.026, allocations: 4.438 kB / 0.631 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00408/1.03, allocations: 2.556 MB / 0.6334 GB, free: 152.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004455/1.034, allocations: 0.9271 MB / 0.6344 GB, free: 152.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05557/1.09, allocations: 33.84 MB / 0.6674 GB, free: 133.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004003/1.094, allocations: 3.439 MB / 0.6708 GB, free: 130.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002325/1.096, allocations: 0.7606 MB / 0.6715 GB, free: 130.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002011/1.098, allocations: 1.85 MB / 0.6733 GB, free: 128.2 MB / 0.5137 GB Notification: Performance of SimCode: time 9.51e-07/1.098, allocations: 0 / 0.6733 GB, free: 128.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.158/1.256, allocations: 86.47 MB / 0.7578 GB, free: 42.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.2/20.46, allocations: 11.92 kB / 0.7578 GB, free: 42.48 MB / 0.5137 GB " [Timeout remaining time 639] (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/jenkins1/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/jenkins1/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 656] Reference file matches [Calling sys.exit(0), Time elapsed: 32.08064397284761]