Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 120.7 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 186.9 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 249.1 MB, free: 3.582 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_0_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_0_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.00154/0.00154, allocations: 55.91 kB / 365.7 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.109, allocations: 52.14 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.01977/0.1287, allocations: 16.9 MB / 434.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.1402, allocations: 5.7 MB / 440.4 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003003/0.1432, allocations: 111.6 kB / 440.5 MB, free: 5.836 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004316/0.1475, allocations: 1.402 MB / 441.9 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006761/0.1543, allocations: 1.841 MB / 443.7 MB, free: 2.574 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003365/0.1576, allocations: 1.036 MB / 444.8 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2446/0.4022, allocations: 6.276 MB / 451.1 MB, free: 8.707 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005835/0.4081, allocations: 3.765 MB / 454.8 MB, free: 8.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006714/0.4148, allocations: 2.961 MB / 457.8 MB, free: 7.859 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009995/0.4248, allocations: 3.398 MB / 461.2 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003907/0.4287, allocations: 0.7879 MB / 462 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005347/0.434, allocations: 1.069 MB / 463 MB, free: 7.297 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003309/0.4373, allocations: 1.874 MB / 464.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006878/0.4442, allocations: 3.344 MB / 468.3 MB, free: 4.648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0138/0.458, allocations: 10.56 MB / 478.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.458, allocations: 0 / 478.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.458, allocations: 1.906 kB / 478.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003651/0.4584, allocations: 2.719 kB / 478.8 MB, free: 15.69 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.02278/0.4812, allocations: 6.658 MB / 485.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.4812, allocations: 13.3 kB / 485.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002138/0.4834, allocations: 0.6774 MB / 486.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005887/0.4892, allocations: 1.079 MB / 487.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009481/0.4987, allocations: 3.669 MB / 490.9 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003837/0.4991, allocations: 366.8 kB / 491.3 MB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002102/0.5012, allocations: 484.3 kB / 491.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01533/0.5165, allocations: 6.879 MB / 498.6 MB, free: 460 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.543e-05/0.5166, allocations: 0 / 498.6 MB, free: 460 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004827/0.5171, allocations: 207.1 kB / 498.8 MB, free: 256 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002172/0.5173, allocations: 233.8 kB / 499.1 MB, free: 20 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.5281, allocations: 5.943 MB / 0.4932 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03717/0.5653, allocations: 20.71 MB / 0.5134 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.5761, allocations: 9.736 MB / 0.5229 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004141/0.5803, allocations: 2.305 MB / 0.5251 GB, free: 8.367 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01328/0.5935, allocations: 6.478 MB / 0.5315 GB, free: 1.863 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.86e-05/0.5936, allocations: 64.55 kB / 0.5315 GB, free: 1.793 MB / 430.1 MB Notification: Performance of pre-optimization done (n=219): time 4.218e-06/0.5936, allocations: 0 / 0.5315 GB, free: 1.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=226): time 0.01945/0.613, allocations: 9.726 MB / 0.541 GB, free: 7.926 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.6131, allocations: 77.41 kB / 0.5411 GB, free: 7.836 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005291/0.6184, allocations: 2.988 MB / 0.544 GB, free: 4.832 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004315/0.6188, allocations: 69.7 kB / 0.5441 GB, free: 4.758 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001929/0.6208, allocations: 2.214 MB / 0.5463 GB, free: 2.535 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001028/0.6218, allocations: 0.7947 MB / 0.547 GB, free: 1.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008381/0.6226, allocations: 465.2 kB / 0.5475 GB, free: 1.289 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6228, allocations: 309.1 kB / 0.5478 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/0.625, allocations: 1.289 MB / 0.549 GB, free: 15.69 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/0.6277, allocations: 1.926 MB / 0.5509 GB, free: 13.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005005/0.6327, allocations: 3.34 MB / 0.5542 GB, free: 9.996 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/0.6328, allocations: 11.94 kB / 0.5542 GB, free: 9.984 MB / 462.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.007848/0.6406, allocations: 4.237 MB / 0.5583 GB, free: 5.832 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.6406, allocations: 12 kB / 0.5583 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.569e-05/0.6407, allocations: 20 kB / 0.5584 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002637/0.6433, allocations: 0.7674 MB / 0.5591 GB, free: 5.027 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/0.6457, allocations: 0.5636 MB / 0.5596 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/0.6581, allocations: 10.88 MB / 0.5703 GB, free: 9.125 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002668/0.6608, allocations: 111.9 kB / 0.5704 GB, free: 9.016 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/0.6611, allocations: 103.9 kB / 0.5705 GB, free: 8.914 MB / 478.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.004289/0.6654, allocations: 1.61 MB / 0.5721 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001174/0.6666, allocations: 333.9 kB / 0.5724 GB, free: 7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007523/0.6741, allocations: 3.885 MB / 0.5762 GB, free: 3.086 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/0.6741, allocations: 24 kB / 0.5762 GB, free: 3.062 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.263e-05/0.6742, allocations: 8.188 kB / 0.5762 GB, free: 3.055 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/0.6742, allocations: 11.97 kB / 0.5762 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/0.691, allocations: 8.537 MB / 0.5845 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.691, allocations: 0 / 0.5845 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/0.6925, allocations: 345.8 kB / 0.5849 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003112/0.6956, allocations: 0.9313 MB / 0.5858 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002196/0.6958, allocations: 67.97 kB / 0.5858 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01908/0.7149, allocations: 15.72 MB / 0.6012 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.7149, allocations: 3.562 kB / 0.6012 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/0.7274, allocations: 5.678 MB / 0.6068 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00242/0.7298, allocations: 0.698 MB / 0.6074 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001175/0.731, allocations: 52 kB / 0.6075 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002375/0.7334, allocations: 111.9 kB / 0.6076 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006177/0.734, allocations: 189.2 kB / 0.6078 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002399/0.7342, allocations: 63.92 kB / 0.6078 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004866/0.7391, allocations: 2.062 MB / 0.6098 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.7391, allocations: 0 / 0.6098 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005415/0.7445, allocations: 0.9491 MB / 0.6108 GB, free: 14.78 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%), (2,26,100.0%), (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.01437/0.7589, allocations: 6.403 MB / 0.617 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01088/0.7697, allocations: 3.785 MB / 0.6207 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.7698, allocations: 4 kB / 0.6207 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005129/0.7749, allocations: 2.533 MB / 0.6232 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006374/0.7813, allocations: 0.9136 MB / 0.6241 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2577/1.039, allocations: 33.74 MB / 0.657 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003327/1.042, allocations: 3.43 MB / 0.6604 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002294/1.045, allocations: 0.7601 MB / 0.6611 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001922/1.047, allocations: 1.834 MB / 0.6629 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.512e-06/1.047, allocations: 1.594 kB / 0.6629 GB, free: 174.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1929/1.239, allocations: 85.96 MB / 0.7469 GB, free: 104 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.04/18.28, allocations: 24 kB / 0.7469 GB, free: 104 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_0_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_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 29.339408092200756]