Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.core.Phi.im|aimc.stator.core.Phi.re|aimc.stator.port_p.V_m.im|aimc.stator.port_p.V_m.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001554/0.001554, allocations: 120.9 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 208.3 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 230.4 MB / 250 MB, free: 9.008 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 71.84 kB / 367.4 MB, free: 6.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2507, allocations: 53.31 MB / 420.7 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.0181/0.2688, allocations: 14.32 MB / 435 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.2807, allocations: 5.374 MB / 440.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/0.2833, allocations: 83.69 kB / 440.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003542/0.2869, allocations: 1.103 MB / 441.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004928/0.2918, allocations: 1.476 MB / 443.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003024/0.2948, allocations: 1.032 MB / 444.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0063/0.3011, allocations: 4.355 MB / 448.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003922/0.3051, allocations: 2.345 MB / 450.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.3081, allocations: 2.029 MB / 452.8 MB, free: 7.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003929/0.312, allocations: 2.437 MB / 455.3 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001133/0.3132, allocations: 0.5352 MB / 455.8 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.3155, allocations: 0.9369 MB / 456.7 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001493/0.317, allocations: 1.371 MB / 458.1 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002947/0.3199, allocations: 2.36 MB / 460.5 MB, free: 340 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008721/0.3286, allocations: 7.416 MB / 467.9 MB, free: 8.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3286, allocations: 0 / 467.9 MB, free: 8.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3286, allocations: 0 / 467.9 MB, free: 8.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001407/0.3288, allocations: 0 / 467.9 MB, free: 8.891 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: 877 * Number of variables: 877 Notification: Performance of Generate backend data structure: time 0.01267/0.3414, allocations: 5.143 MB / 473 MB, free: 3.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3415, allocations: 8.031 kB / 473 MB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004909/0.3464, allocations: 0.935 MB / 474 MB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005657/0.352, allocations: 2.836 MB / 476.8 MB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002175/0.3523, allocations: 250.7 kB / 477 MB, free: 15.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006229/0.3529, allocations: 335.9 kB / 477.4 MB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008313/0.3612, allocations: 4.547 MB / 481.9 MB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.462e-05/0.3613, allocations: 11.89 kB / 481.9 MB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003218/0.3616, allocations: 136 kB / 482.1 MB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/0.3618, allocations: 154.7 kB / 482.2 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007437/0.3692, allocations: 3.915 MB / 486.1 MB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0234/0.3926, allocations: 14.03 MB / 0.4884 GB, free: 8.094 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008281/0.4009, allocations: 6.833 MB / 0.4951 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003078/0.404, allocations: 1.583 MB / 0.4967 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008157/0.4121, allocations: 4.487 MB / 0.501 GB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.415e-05/0.4122, allocations: 51.88 kB / 0.5011 GB, free: 10.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=165): time 3.416e-06/0.4122, allocations: 0 / 0.5011 GB, free: 10.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=185): time 0.01815/0.4303, allocations: 7.806 MB / 0.5087 GB, free: 2.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.4304, allocations: 73.41 kB / 0.5088 GB, free: 2.164 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004384/0.4348, allocations: 2.669 MB / 0.5114 GB, free: 15.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.4349, allocations: 57.7 kB / 0.5114 GB, free: 15.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001469/0.4364, allocations: 1.662 MB / 0.5131 GB, free: 13.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006154/0.437, allocations: 0.6545 MB / 0.5137 GB, free: 13.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006304/0.4376, allocations: 335.4 kB / 0.514 GB, free: 12.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4378, allocations: 305.1 kB / 0.5143 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/0.4395, allocations: 0.9136 MB / 0.5152 GB, free: 11.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/0.4416, allocations: 1.302 MB / 0.5165 GB, free: 10.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/0.4455, allocations: 2.352 MB / 0.5188 GB, free: 7.574 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.4455, allocations: 4 kB / 0.5188 GB, free: 7.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006087/0.4516, allocations: 3.074 MB / 0.5218 GB, free: 4.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.4517, allocations: 14.75 kB / 0.5218 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.228e-05/0.4517, allocations: 12 kB / 0.5218 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001613/0.4533, allocations: 0.548 MB / 0.5223 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001846/0.4551, allocations: 431.3 kB / 0.5228 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.4658, allocations: 7.608 MB / 0.5302 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.4678, allocations: 87.94 kB / 0.5303 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003578/0.4681, allocations: 75.98 kB / 0.5303 GB, free: 11.43 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (7,34,75.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002576/0.4707, allocations: 1.173 MB / 0.5315 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008108/0.4715, allocations: 266.3 kB / 0.5317 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006289/0.4778, allocations: 2.87 MB / 0.5345 GB, free: 7.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.401e-05/0.4779, allocations: 20 kB / 0.5346 GB, free: 7.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.296e-05/0.4779, allocations: 8 kB / 0.5346 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.23e-05/0.4779, allocations: 11.95 kB / 0.5346 GB, free: 7.051 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.4908, allocations: 6.326 MB / 0.5408 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.4908, allocations: 0 / 0.5408 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/0.4922, allocations: 275.6 kB / 0.541 GB, free: 376 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.185/0.6772, allocations: 0.6198 MB / 0.5416 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000336/0.6776, allocations: 43.2 kB / 0.5417 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009911/0.6875, allocations: 11.44 MB / 0.5528 GB, free: 106.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6875, allocations: 5.406 kB / 0.5528 GB, free: 106.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005946/0.6934, allocations: 4.145 MB / 0.5569 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009125/0.6943, allocations: 0.5526 MB / 0.5574 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003072/0.6947, allocations: 43.81 kB / 0.5575 GB, free: 104.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.6957, allocations: 85.38 kB / 0.5576 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003078/0.696, allocations: 137.3 kB / 0.5577 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/0.6961, allocations: 58.52 kB / 0.5577 GB, free: 104.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001958/0.6981, allocations: 1.869 MB / 0.5596 GB, free: 103.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6981, allocations: 0 / 0.5596 GB, free: 103.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001879/0.7, allocations: 0.6889 MB / 0.5602 GB, free: 103.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,12,100.0%), (2,25,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0014/0.7014, allocations: 451.9 kB / 0.5607 GB, free: 103.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004133/0.7055, allocations: 2.728 MB / 0.5633 GB, free: 102.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.7055, allocations: 0 / 0.5633 GB, free: 102.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.7079, allocations: 1.842 MB / 0.5651 GB, free: 101.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.7102, allocations: 0.5974 MB / 0.5657 GB, free: 101.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009632/0.7198, allocations: 7.197 MB / 0.5727 GB, free: 94.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/0.7217, allocations: 2.64 MB / 0.5753 GB, free: 92.49 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0015/0.7232, allocations: 0.5047 MB / 0.5758 GB, free: 91.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000421/0.7236, allocations: 167.4 kB / 0.576 GB, free: 91.82 MB / 462.1 MB Notification: Performance of SimCode: time 1.253e-06/0.7236, allocations: 0 / 0.576 GB, free: 91.82 MB / 462.1 MB Notification: Performance of Templates: time 0.05412/0.7777, allocations: 36.5 MB / 0.6116 GB, free: 55.75 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches