Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001506/0.001506, allocations: 217.6 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 230.5 MB / 257.4 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_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_trunk_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.001865/0.001865, allocations: 59.91 kB / 377.8 MB, free: 2.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2563, allocations: 53.41 MB / 431.2 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.0193/0.2756, allocations: 15.21 MB / 446.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.288, allocations: 5.673 MB / 452 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003335/0.2914, allocations: 143.1 kB / 452.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005265/0.2966, allocations: 1.347 MB / 453.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0067/0.3033, allocations: 1.829 MB / 455.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003217/0.3065, allocations: 1.079 MB / 456.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00885/0.3154, allocations: 6.387 MB / 462.8 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004914/0.3203, allocations: 2.748 MB / 465.6 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005665/0.326, allocations: 3.055 MB / 468.6 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006647/0.3326, allocations: 3.398 MB / 472 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002113/0.3347, allocations: 0.7891 MB / 472.8 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003318/0.338, allocations: 1.066 MB / 473.9 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002443/0.3405, allocations: 1.882 MB / 475.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004881/0.3454, allocations: 2.684 MB / 478.5 MB, free: 6.883 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.3601, allocations: 10.66 MB / 489.1 MB, free: 12.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3601, allocations: 4 kB / 489.1 MB, free: 12.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3601, allocations: 3.938 kB / 489.1 MB, free: 12.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003704/0.3605, allocations: 0 / 489.1 MB, free: 12.18 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.0188/0.3793, allocations: 6.627 MB / 495.7 MB, free: 5.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3793, allocations: 15.98 kB / 495.8 MB, free: 5.461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00115/0.3805, allocations: 0.6752 MB / 496.4 MB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005304/0.3858, allocations: 1.102 MB / 497.5 MB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008701/0.3945, allocations: 3.623 MB / 0.4894 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003902/0.3949, allocations: 369.8 kB / 0.4898 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001484/0.3964, allocations: 491.9 kB / 0.4902 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/0.4113, allocations: 7.218 MB / 0.4973 GB, free: 7.766 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.4114, allocations: 8 kB / 0.4973 GB, free: 7.758 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004918/0.4119, allocations: 196 kB / 0.4975 GB, free: 7.566 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002658/0.4121, allocations: 253.8 kB / 0.4977 GB, free: 7.316 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.4239, allocations: 5.949 MB / 0.5035 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03522/0.4591, allocations: 18.67 MB / 0.5218 GB, free: 14.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007492/0.4666, allocations: 4.444 MB / 0.5261 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003657/0.4703, allocations: 2.305 MB / 0.5284 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01148/0.4818, allocations: 5.665 MB / 0.5339 GB, free: 2.066 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.109e-05/0.4818, allocations: 60.56 kB / 0.534 GB, free: 2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 4.508e-06/0.4818, allocations: 0 / 0.534 GB, free: 2 MB / 446.1 MB Notification: Performance of matching and sorting (n=226): time 0.2031/0.6849, allocations: 8.985 MB / 0.5427 GB, free: 96.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.6849, allocations: 77.62 kB / 0.5428 GB, free: 96.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003901/0.6888, allocations: 3.053 MB / 0.5458 GB, free: 94.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001718/0.689, allocations: 61.58 kB / 0.5458 GB, free: 94.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.6901, allocations: 2.234 MB / 0.548 GB, free: 93.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/0.6905, allocations: 0.8002 MB / 0.5488 GB, free: 92.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005721/0.6911, allocations: 471.4 kB / 0.5493 GB, free: 92.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.737e-05/0.6911, allocations: 312.7 kB / 0.5496 GB, free: 92.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/0.6927, allocations: 1.29 MB / 0.5508 GB, free: 91.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001727/0.6944, allocations: 1.948 MB / 0.5527 GB, free: 90.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/0.6977, allocations: 3.338 MB / 0.556 GB, free: 88.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.527e-06/0.6978, allocations: 4 kB / 0.556 GB, free: 88.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.005459/0.7032, allocations: 4.178 MB / 0.5601 GB, free: 84.49 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.7032, allocations: 15.89 kB / 0.5601 GB, free: 84.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.7033, allocations: 16 kB / 0.5601 GB, free: 84.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/0.7053, allocations: 0.7636 MB / 0.5608 GB, free: 83.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.7072, allocations: 0.5694 MB / 0.5614 GB, free: 83.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007532/0.7148, allocations: 10.34 MB / 0.5715 GB, free: 72.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.7168, allocations: 106.2 kB / 0.5716 GB, free: 72.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001693/0.717, allocations: 105.1 kB / 0.5717 GB, free: 72.22 MB / 446.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.002248/0.7192, allocations: 1.616 MB / 0.5733 GB, free: 70.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005732/0.7198, allocations: 337.6 kB / 0.5736 GB, free: 70.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005118/0.7249, allocations: 3.74 MB / 0.5772 GB, free: 66.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.7249, allocations: 20 kB / 0.5773 GB, free: 66.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.7249, allocations: 19.94 kB / 0.5773 GB, free: 66.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.7249, allocations: 11.95 kB / 0.5773 GB, free: 66.47 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.7359, allocations: 7.912 MB / 0.585 GB, free: 58.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-06/0.7359, allocations: 0 / 0.585 GB, free: 58.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/0.7372, allocations: 335.6 kB / 0.5853 GB, free: 58.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002489/0.7397, allocations: 0.9523 MB / 0.5863 GB, free: 57.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/0.7399, allocations: 59.97 kB / 0.5863 GB, free: 57.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/0.7509, allocations: 14.97 MB / 0.6009 GB, free: 41.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7509, allocations: 0 / 0.6009 GB, free: 41.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007639/0.7586, allocations: 5.544 MB / 0.6064 GB, free: 35.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002037/0.7606, allocations: 0.6383 MB / 0.607 GB, free: 35.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004868/0.7611, allocations: 52 kB / 0.607 GB, free: 35.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.7625, allocations: 115.7 kB / 0.6071 GB, free: 35.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000399/0.7629, allocations: 197.6 kB / 0.6073 GB, free: 34.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.763, allocations: 63.98 kB / 0.6074 GB, free: 34.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002498/0.7655, allocations: 2.079 MB / 0.6094 GB, free: 32.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7655, allocations: 0 / 0.6094 GB, free: 32.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002889/0.7684, allocations: 0.9513 MB / 0.6103 GB, free: 31.84 MB / 446.1 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.007257/0.7757, allocations: 6.265 MB / 0.6165 GB, free: 25.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004766/0.7805, allocations: 3.702 MB / 0.6201 GB, free: 21.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.7805, allocations: 4 kB / 0.6201 GB, free: 21.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003069/0.7835, allocations: 2.556 MB / 0.6226 GB, free: 19.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003437/0.787, allocations: 0.917 MB / 0.6235 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04755/0.8345, allocations: 33.74 MB / 0.6564 GB, free: 15.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004346/0.8389, allocations: 2.927 MB / 0.6593 GB, free: 12.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002719/0.8416, allocations: 0.7606 MB / 0.66 GB, free: 11.92 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002815/0.8444, allocations: 1.858 MB / 0.6618 GB, free: 10.06 MB / 478.1 MB Notification: Performance of SimCode: time 1.363e-06/0.8444, allocations: 0 / 0.6618 GB, free: 10.06 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8073/1.652, allocations: 91.09 MB / 0.7508 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.05/17.7, allocations: 9.078 kB / 0.7508 GB, free: 178.9 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Transformer.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.194718855898827]