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_withLosses.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.001224/0.001224, allocations: 78.8 kB / 20.68 MB, free: 1.035 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.001602/0.001602, allocations: 149.7 kB / 23.94 MB, free: 4.184 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.412/1.412, allocations: 173.3 MB / 200.4 MB, free: 12.89 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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 319 MB, free: 3.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.357e-05, allocations: 2.281 kB / 319 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01373/0.01375, allocations: 11.95 MB / 330.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.0249, allocations: 4.721 MB / 335.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002873/0.02777, allocations: 95.56 kB / 335.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003438/0.03121, allocations: 1.038 MB / 336.8 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00513/0.03634, allocations: 1.48 MB / 338.3 MB, free: 6.391 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.03891, allocations: 0.9612 MB / 339.2 MB, free: 5.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005801/0.04472, allocations: 4.496 MB / 343.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002753/0.04747, allocations: 1.787 MB / 345.5 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004485/0.05195, allocations: 3.002 MB / 348.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003305/0.05526, allocations: 1.941 MB / 350.4 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008725/0.05613, allocations: 0.5312 MB / 351 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002001/0.05813, allocations: 0.8937 MB / 351.9 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001417/0.05955, allocations: 1.402 MB / 353.3 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002274/0.06182, allocations: 1.574 MB / 354.8 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00908/0.0709, allocations: 7.405 MB / 362.2 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.07091, allocations: 0 / 362.2 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.07091, allocations: 0 / 362.2 MB, free: 208 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001304/0.07104, allocations: 0 / 362.2 MB, free: 208 kB / 318.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.01317/0.0842, allocations: 4.971 MB / 367.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.08424, allocations: 8.922 kB / 367.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004745/0.08899, allocations: 0.896 MB / 368.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005672/0.09466, allocations: 2.724 MB / 370.8 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.0949, allocations: 247.1 kB / 371.1 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007079/0.09561, allocations: 332.3 kB / 371.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009125/0.1047, allocations: 4.702 MB / 376.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.228e-05/0.1048, allocations: 3.953 kB / 376.1 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003598/0.1052, allocations: 144 kB / 376.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001877/0.1054, allocations: 154.7 kB / 376.4 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007573/0.1129, allocations: 3.903 MB / 380.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0224/0.1353, allocations: 12.11 MB / 392.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006702/0.142, allocations: 2.952 MB / 395.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003101/0.1451, allocations: 1.575 MB / 397 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007315/0.1524, allocations: 3.571 MB / 400.5 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.95e-05/0.1525, allocations: 47.88 kB / 400.6 MB, free: 9.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=165): time 4.127e-06/0.1525, allocations: 0 / 400.6 MB, free: 9.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=185): time 0.01795/0.1704, allocations: 7.402 MB / 408 MB, free: 2.039 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.1705, allocations: 73.41 kB / 408 MB, free: 1.957 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003734/0.1742, allocations: 2.422 MB / 410.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.1744, allocations: 57.7 kB / 410.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.1758, allocations: 1.661 MB / 412.2 MB, free: 13.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006172/0.1764, allocations: 0.6468 MB / 412.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006035/0.177, allocations: 331.5 kB / 413.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1771, allocations: 301.1 kB / 413.4 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.1789, allocations: 0.9097 MB / 414.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/0.1811, allocations: 1.335 MB / 415.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004134/0.1852, allocations: 2.352 MB / 418 MB, free: 7.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.1852, allocations: 7.875 kB / 418.1 MB, free: 7.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.00613/0.1913, allocations: 3.051 MB / 421.1 MB, free: 4.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.1914, allocations: 8 kB / 421.1 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.1914, allocations: 12 kB / 421.1 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/0.193, allocations: 0.5479 MB / 421.7 MB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.1949, allocations: 423.4 kB / 422.1 MB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.2057, allocations: 7.218 MB / 429.3 MB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.2072, allocations: 87.94 kB / 429.4 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.2074, allocations: 75.98 kB / 429.5 MB, free: 11.93 MB / 398.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.00216/0.2095, allocations: 1.161 MB / 430.6 MB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005654/0.2101, allocations: 254.4 kB / 430.9 MB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006325/0.2164, allocations: 2.849 MB / 433.7 MB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.622e-05/0.2165, allocations: 20 kB / 433.7 MB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-05/0.2165, allocations: 8 kB / 433.7 MB, free: 7.613 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.2165, allocations: 19.89 kB / 433.8 MB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01114/0.2276, allocations: 5.454 MB / 439.2 MB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/0.2277, allocations: 0 / 439.2 MB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/0.2291, allocations: 279.6 kB / 439.5 MB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001854/0.2309, allocations: 0.626 MB / 440.1 MB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.2311, allocations: 43.98 kB / 440.2 MB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/0.2453, allocations: 10.8 MB / 451 MB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.2453, allocations: 3.938 kB / 451 MB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008166/0.2534, allocations: 4.113 MB / 455.1 MB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/0.2546, allocations: 470.2 kB / 455.5 MB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004553/0.2551, allocations: 39.94 kB / 455.6 MB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.2564, allocations: 79.94 kB / 455.7 MB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004192/0.2568, allocations: 145.7 kB / 455.8 MB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/0.257, allocations: 59.91 kB / 455.9 MB, free: 0.9766 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002913/0.2599, allocations: 1.682 MB / 457.5 MB, free: 15.28 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2599, allocations: 4 kB / 457.5 MB, free: 15.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002552/0.2625, allocations: 0.6913 MB / 458.2 MB, free: 14.58 MB / 430.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.001821/0.2643, allocations: 470.1 kB / 458.7 MB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005847/0.2701, allocations: 2.721 MB / 461.4 MB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.2701, allocations: 256 / 461.4 MB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003727/0.2739, allocations: 1.841 MB / 463.3 MB, free: 9.633 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/0.2769, allocations: 493.5 kB / 463.7 MB, free: 9.152 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/0.2904, allocations: 6.954 MB / 470.7 MB, free: 2.156 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003005/0.2934, allocations: 2.071 MB / 472.8 MB, free: 52 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.1441/0.4375, allocations: 481.9 kB / 473.2 MB, free: 125.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000524/0.4381, allocations: 162.4 kB / 473.4 MB, free: 125.8 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4381, allocations: 0 / 473.4 MB, free: 125.8 MB / 430.1 MB Notification: Performance of Templates: time 0.05553/0.4936, allocations: 34.95 MB / 0.4964 GB, free: 109.3 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 7.226456385105848]