Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.001599/0.001599, allocations: 121.3 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.001849/0.001849, allocations: 210.5 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.457/1.457, allocations: 230.2 MB / 254.5 MB, free: 15.41 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_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 67.89 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1063, allocations: 53.32 MB / 426.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.02548/0.1317, allocations: 20.27 MB / 447 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2311/0.3629, allocations: 5.935 MB / 452.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004509/0.3674, allocations: 124.6 kB / 453 MB, free: 9.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004821/0.3722, allocations: 1.38 MB / 454.4 MB, free: 9.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00769/0.3799, allocations: 1.949 MB / 456.3 MB, free: 8.816 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004261/0.3842, allocations: 1.216 MB / 457.6 MB, free: 8.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01074/0.3949, allocations: 6.436 MB / 464 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007553/0.4025, allocations: 3.777 MB / 467.8 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006937/0.4094, allocations: 3.003 MB / 470.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007474/0.4169, allocations: 3.671 MB / 474.4 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003052/0.4199, allocations: 0.8001 MB / 475.2 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005054/0.425, allocations: 1.1 MB / 476.3 MB, free: 428 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005704/0.4307, allocations: 2.182 MB / 478.5 MB, free: 0 / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009332/0.44, allocations: 3.453 MB / 482 MB, free: 13.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01849/0.4585, allocations: 10.7 MB / 492.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.4585, allocations: 0 / 492.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4585, allocations: 2.5 kB / 492.7 MB, free: 6.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004041/0.4589, allocations: 0 / 492.7 MB, free: 6.016 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.0214/0.4803, allocations: 6.891 MB / 499.6 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.4804, allocations: 8.031 kB / 499.6 MB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002767/0.4831, allocations: 0.7125 MB / 0.4886 GB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007037/0.4902, allocations: 1.111 MB / 0.4897 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01086/0.501, allocations: 3.765 MB / 0.4933 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005041/0.5015, allocations: 385.7 kB / 0.4937 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002002/0.5035, allocations: 0.5102 MB / 0.4942 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/0.5236, allocations: 6.953 MB / 0.501 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003235/0.5239, allocations: 15.88 kB / 0.501 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001703/0.5256, allocations: 214.4 kB / 0.5012 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003033/0.5259, allocations: 239.4 kB / 0.5014 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/0.5415, allocations: 5.931 MB / 0.5072 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04982/0.5913, allocations: 21.25 MB / 0.528 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.6022, allocations: 8.511 MB / 0.5363 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004701/0.6069, allocations: 2.193 MB / 0.5384 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01678/0.6236, allocations: 6.359 MB / 0.5446 GB, free: 5.102 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.272e-05/0.6237, allocations: 68.44 kB / 0.5447 GB, free: 5.023 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 4.368e-06/0.6237, allocations: 0 / 0.5447 GB, free: 5.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.03066/0.6544, allocations: 11.36 MB / 0.5558 GB, free: 9.449 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.6544, allocations: 77.41 kB / 0.5559 GB, free: 9.363 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007066/0.6615, allocations: 3.012 MB / 0.5588 GB, free: 6.344 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000596/0.6621, allocations: 73.7 kB / 0.5589 GB, free: 6.266 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002659/0.6648, allocations: 2.378 MB / 0.5612 GB, free: 3.875 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001359/0.6661, allocations: 0.859 MB / 0.562 GB, free: 3.027 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001861/0.668, allocations: 0.5061 MB / 0.5625 GB, free: 2.512 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.6681, allocations: 305.1 kB / 0.5628 GB, free: 2.211 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002952/0.6711, allocations: 1.36 MB / 0.5642 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004015/0.6751, allocations: 2.135 MB / 0.5662 GB, free: 14.38 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006963/0.6821, allocations: 3.697 MB / 0.5699 GB, free: 10.33 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.529e-05/0.6821, allocations: 4 kB / 0.5699 GB, free: 10.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.01116/0.6932, allocations: 4.673 MB / 0.5744 GB, free: 5.551 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.332e-05/0.6933, allocations: 16.62 kB / 0.5744 GB, free: 5.535 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.7e-05/0.6934, allocations: 24 kB / 0.5745 GB, free: 5.512 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002179/0.6955, allocations: 0.7581 MB / 0.5752 GB, free: 4.723 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/0.6984, allocations: 0.6357 MB / 0.5758 GB, free: 4.086 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01659/0.715, allocations: 14.53 MB / 0.59 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/0.7181, allocations: 167.8 kB / 0.5902 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006134/0.7187, allocations: 120 kB / 0.5903 GB, free: 4.309 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 106 * Number of states: 0 () * Number of discrete variables: 3 (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 (324): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (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): 7 systems {(1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004102/0.7228, allocations: 1.602 MB / 0.5918 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/0.7241, allocations: 341.8 kB / 0.5922 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009825/0.7339, allocations: 4.18 MB / 0.5963 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.209e-05/0.7339, allocations: 24 kB / 0.5963 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.874e-05/0.734, allocations: 12 kB / 0.5963 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.707e-05/0.734, allocations: 11.95 kB / 0.5963 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02366/0.7577, allocations: 9.118 MB / 0.6052 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-05/0.7577, allocations: 4 kB / 0.6052 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/0.7597, allocations: 372 kB / 0.6056 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002925/0.7626, allocations: 0.9357 MB / 0.6065 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005259/0.7631, allocations: 67.95 kB / 0.6065 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.023/0.7861, allocations: 17.99 MB / 0.6241 GB, free: 336 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.229e-05/0.7862, allocations: 15.86 kB / 0.6241 GB, free: 320 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/0.7994, allocations: 6.056 MB / 0.63 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002811/0.8022, allocations: 0.7057 MB / 0.6307 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001313/0.8035, allocations: 56 kB / 0.6308 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002619/0.8062, allocations: 135.9 kB / 0.6309 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008844/0.807, allocations: 201.6 kB / 0.6311 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000431/0.8075, allocations: 67.98 kB / 0.6312 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004951/0.8124, allocations: 2.054 MB / 0.6332 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.71e-07/0.8124, allocations: 0 / 0.6332 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0057/0.8181, allocations: 0.9843 MB / 0.6341 GB, free: 5.914 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.zeroInductor.i0,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * 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): 8 systems {(2,12,100.0%), (1,1,100.0%), (1,8,100.0%), (2,1,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.2438/1.062, allocations: 6.766 MB / 0.6407 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007655/1.07, allocations: 4.446 MB / 0.6451 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.07, allocations: 1.281 kB / 0.6451 GB, free: 171.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005078/1.075, allocations: 2.953 MB / 0.648 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005451/1.08, allocations: 0.9101 MB / 0.6489 GB, free: 170.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07525/1.155, allocations: 35.25 MB / 0.6833 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006865/1.162, allocations: 3.439 MB / 0.6866 GB, free: 152.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003593/1.166, allocations: 0.7709 MB / 0.6874 GB, free: 151.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003836/1.17, allocations: 1.968 MB / 0.6893 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of SimCode: time 2.384e-06/1.17, allocations: 0 / 0.6893 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1544/1.324, allocations: 87.98 MB / 0.7752 GB, free: 63.63 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.13/19.46, allocations: 5.406 kB / 0.7752 GB, free: 63.62 MB / 0.5294 GB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_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_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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: 27.6807799260132]