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.001621/0.001621, allocations: 121.8 kB / 18.5 MB, free: 4.578 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.001929/0.001929, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.526/1.526, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.001788/0.001788, allocations: 63.89 kB / 373.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1183, allocations: 53.33 MB / 426.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.2529/0.3711, allocations: 17.54 MB / 444.2 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01297/0.3841, allocations: 5.978 MB / 450.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00466/0.3888, allocations: 114.8 kB / 450.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005019/0.3938, allocations: 1.422 MB / 451.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008267/0.402, allocations: 1.839 MB / 453.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003869/0.4059, allocations: 1.086 MB / 454.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01071/0.4166, allocations: 6.381 MB / 461 MB, free: 7.398 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00653/0.4232, allocations: 3.768 MB / 464.8 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007254/0.4304, allocations: 2.993 MB / 467.8 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007562/0.438, allocations: 3.528 MB / 471.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002482/0.4405, allocations: 0.7877 MB / 472.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004511/0.445, allocations: 1.094 MB / 473.2 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002897/0.4479, allocations: 1.886 MB / 475.1 MB, free: 212 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007396/0.4553, allocations: 3.371 MB / 478.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01457/0.4698, allocations: 10.61 MB / 489.1 MB, free: 2.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4698, allocations: 4 kB / 489.1 MB, free: 2.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4698, allocations: 0 / 489.1 MB, free: 2.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002474/0.4701, allocations: 4 kB / 489.1 MB, free: 2.789 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: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.01683/0.4869, allocations: 6.71 MB / 495.8 MB, free: 11.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.487, allocations: 12.03 kB / 495.8 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001142/0.4881, allocations: 0.6752 MB / 496.5 MB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005172/0.4933, allocations: 1.094 MB / 497.6 MB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008305/0.5016, allocations: 3.703 MB / 0.4895 GB, free: 6.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003533/0.5019, allocations: 367 kB / 0.4899 GB, free: 6.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001147/0.5031, allocations: 495.8 kB / 0.4904 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.5159, allocations: 6.912 MB / 0.4971 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.731e-05/0.516, allocations: 7.938 kB / 0.4971 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004683/0.5164, allocations: 200 kB / 0.4973 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002519/0.5167, allocations: 245.9 kB / 0.4975 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/0.5289, allocations: 5.961 MB / 0.5034 GB, free: 8.164 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03853/0.5675, allocations: 21.16 MB / 0.524 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.5779, allocations: 9.755 MB / 0.5336 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004151/0.5821, allocations: 2.298 MB / 0.5358 GB, free: 5.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01302/0.5951, allocations: 6.74 MB / 0.5424 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.465e-05/0.5952, allocations: 56.56 kB / 0.5424 GB, free: 14.46 MB / 462.1 MB Notification: Performance of pre-optimization done (n=219): time 4.188e-06/0.5952, allocations: 3.938 kB / 0.5424 GB, free: 14.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=226): time 0.01946/0.6146, allocations: 9.746 MB / 0.552 GB, free: 4.504 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.6147, allocations: 77.41 kB / 0.552 GB, free: 4.414 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004997/0.6197, allocations: 3.014 MB / 0.555 GB, free: 1.387 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000292/0.62, allocations: 65.7 kB / 0.555 GB, free: 1.316 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001875/0.6219, allocations: 2.237 MB / 0.5572 GB, free: 15.06 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008878/0.6227, allocations: 0.7979 MB / 0.558 GB, free: 14.26 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000774/0.6235, allocations: 469.2 kB / 0.5585 GB, free: 13.79 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6237, allocations: 313 kB / 0.5588 GB, free: 13.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00219/0.6259, allocations: 1.293 MB / 0.56 GB, free: 12.19 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002872/0.6287, allocations: 1.916 MB / 0.5619 GB, free: 10.01 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005029/0.6338, allocations: 3.34 MB / 0.5651 GB, free: 6.422 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.6338, allocations: 4 kB / 0.5652 GB, free: 6.418 MB / 478.1 MB Notification: Performance of matching and sorting (n=328) (initialization): time 0.007821/0.6416, allocations: 4.25 MB / 0.5693 GB, free: 2.125 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.6416, allocations: 12 kB / 0.5693 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.498e-05/0.6417, allocations: 20 kB / 0.5693 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/0.6442, allocations: 0.783 MB / 0.5701 GB, free: 1.297 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.6466, allocations: 0.5577 MB / 0.5706 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.6594, allocations: 10.89 MB / 0.5813 GB, free: 5.293 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.6616, allocations: 107.9 kB / 0.5814 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003692/0.662, allocations: 104.1 kB / 0.5815 GB, free: 5.086 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.002894/0.6649, allocations: 1.627 MB / 0.5831 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007755/0.6657, allocations: 333.9 kB / 0.5834 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006905/0.6726, allocations: 3.879 MB / 0.5872 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.6726, allocations: 20 kB / 0.5872 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.681e-05/0.6726, allocations: 12 kB / 0.5872 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.249e-05/0.6726, allocations: 15.94 kB / 0.5872 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/0.6879, allocations: 8.553 MB / 0.5956 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.6879, allocations: 7.938 kB / 0.5956 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001457/0.6894, allocations: 351.7 kB / 0.5959 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003016/0.6924, allocations: 0.9379 MB / 0.5968 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/0.6926, allocations: 63.97 kB / 0.5969 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01712/0.7097, allocations: 15.76 MB / 0.6123 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7097, allocations: 0 / 0.6123 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1926/0.9023, allocations: 5.69 MB / 0.6178 GB, free: 157.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002056/0.9044, allocations: 0.6997 MB / 0.6185 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004411/0.9048, allocations: 54.81 kB / 0.6186 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.9062, allocations: 106.8 kB / 0.6187 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004816/0.9067, allocations: 190.3 kB / 0.6189 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/0.9068, allocations: 62.38 kB / 0.6189 GB, free: 157.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003144/0.9099, allocations: 2.082 MB / 0.6209 GB, free: 157.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.9099, allocations: 3.062 kB / 0.6209 GB, free: 157.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00338/0.9133, allocations: 0.9494 MB / 0.6219 GB, free: 157.7 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.00937/0.9227, allocations: 6.402 MB / 0.6281 GB, free: 155.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005851/0.9285, allocations: 3.788 MB / 0.6318 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.9286, allocations: 1.375 kB / 0.6318 GB, free: 153.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003782/0.9323, allocations: 2.56 MB / 0.6343 GB, free: 152.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004197/0.9365, allocations: 0.9269 MB / 0.6352 GB, free: 152.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04829/0.9848, allocations: 33.86 MB / 0.6683 GB, free: 133.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002638/0.9875, allocations: 3.448 MB / 0.6717 GB, free: 130.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002266/0.9897, allocations: 0.7606 MB / 0.6724 GB, free: 130 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/0.9915, allocations: 1.854 MB / 0.6742 GB, free: 128.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.172e-06/0.9915, allocations: 3.938 kB / 0.6742 GB, free: 128.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6074/1.599, allocations: 86.52 MB / 0.7587 GB, free: 42.24 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.98/19.58, allocations: 15.53 kB / 0.7587 GB, free: 42.22 MB / 0.5137 GB " [Timeout remaining time 640] (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_2/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_2/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: 30.489223218057305]