Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 55.44 kB / 325.6 MB, free: 244 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08673/0.08831, allocations: 53.33 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01571/0.104, allocations: 12.5 MB / 391.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009118/0.1131, allocations: 5.09 MB / 396.5 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001392/0.1145, allocations: 103.4 kB / 396.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00259/0.1171, allocations: 1.041 MB / 397.7 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003579/0.1207, allocations: 1.468 MB / 399.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.1229, allocations: 1.012 MB / 400.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005008/0.128, allocations: 4.367 MB / 404.5 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/0.1305, allocations: 1.775 MB / 406.3 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.1334, allocations: 2.087 MB / 408.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003832/0.1372, allocations: 2.304 MB / 410.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009245/0.1381, allocations: 0.5352 MB / 411.2 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.1401, allocations: 0.8979 MB / 412.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001477/0.1416, allocations: 1.379 MB / 413.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002511/0.1441, allocations: 1.859 MB / 415.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009325/0.1534, allocations: 7.443 MB / 422.8 MB, free: 3.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.455e-06/0.1534, allocations: 0 / 422.8 MB, free: 3.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1534, allocations: 3.938 kB / 422.8 MB, free: 3.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001811/0.1536, allocations: 0 / 422.8 MB, free: 3.543 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.01312/0.1667, allocations: 5.06 MB / 427.9 MB, free: 14.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1668, allocations: 12.03 kB / 427.9 MB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004852/0.1716, allocations: 0.9038 MB / 428.8 MB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00537/0.177, allocations: 2.756 MB / 431.5 MB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.1772, allocations: 250.7 kB / 431.8 MB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005738/0.1778, allocations: 339.9 kB / 432.1 MB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008198/0.186, allocations: 4.702 MB / 436.8 MB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.653e-05/0.186, allocations: 7.953 kB / 436.8 MB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003254/0.1864, allocations: 140 kB / 437 MB, free: 5.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/0.1866, allocations: 158.7 kB / 437.1 MB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007113/0.1937, allocations: 3.903 MB / 441 MB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0207/0.2144, allocations: 12.13 MB / 453.2 MB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00644/0.2208, allocations: 2.965 MB / 456.1 MB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003004/0.2238, allocations: 1.579 MB / 457.7 MB, free: 284 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007224/0.231, allocations: 3.591 MB / 461.3 MB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.2311, allocations: 55.86 kB / 461.4 MB, free: 12.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=165): time 3.807e-06/0.2311, allocations: 4 kB / 461.4 MB, free: 12.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=185): time 0.01697/0.2481, allocations: 7.434 MB / 468.8 MB, free: 5.117 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.2481, allocations: 69.41 kB / 468.9 MB, free: 5.035 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00344/0.2516, allocations: 2.464 MB / 471.3 MB, free: 2.539 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.2517, allocations: 57.7 kB / 471.4 MB, free: 2.477 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.253, allocations: 1.681 MB / 473.1 MB, free: 0.7773 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005489/0.2536, allocations: 0.6507 MB / 473.7 MB, free: 124 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1732/0.4268, allocations: 335.5 kB / 474 MB, free: 81.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.626e-05/0.4268, allocations: 305.9 kB / 474.3 MB, free: 81.13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.4285, allocations: 0.9111 MB / 475.2 MB, free: 81.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/0.4302, allocations: 1.331 MB / 476.6 MB, free: 80.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003214/0.4334, allocations: 2.362 MB / 478.9 MB, free: 79.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.4334, allocations: 2.875 kB / 478.9 MB, free: 79.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.005597/0.439, allocations: 3.052 MB / 482 MB, free: 78.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.439, allocations: 8.594 kB / 482 MB, free: 78.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.4391, allocations: 11 kB / 482 MB, free: 78.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/0.4406, allocations: 0.549 MB / 482.6 MB, free: 78.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.4424, allocations: 431.7 kB / 483 MB, free: 78.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008017/0.4504, allocations: 7.223 MB / 490.2 MB, free: 73.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.452, allocations: 84.7 kB / 490.3 MB, free: 73.53 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.4522, allocations: 82.47 kB / 490.4 MB, free: 73.51 MB / 430.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.001681/0.4539, allocations: 1.17 MB / 491.5 MB, free: 72.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/0.4543, allocations: 252.7 kB / 491.8 MB, free: 72.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004567/0.4588, allocations: 2.846 MB / 494.6 MB, free: 71.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/0.4589, allocations: 21.73 kB / 494.7 MB, free: 71.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.4589, allocations: 14.38 kB / 494.7 MB, free: 71.69 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.4589, allocations: 10.69 kB / 494.7 MB, free: 71.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007789/0.4667, allocations: 5.496 MB / 0.4885 GB, free: 69.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4667, allocations: 0 / 0.4885 GB, free: 69.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001232/0.4679, allocations: 279.4 kB / 0.4887 GB, free: 68.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/0.4692, allocations: 0.6115 MB / 0.4893 GB, free: 68.44 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.4694, allocations: 47.08 kB / 0.4894 GB, free: 68.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008372/0.4777, allocations: 10.78 MB / 0.4999 GB, free: 57.53 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4777, allocations: 7.969 kB / 0.4999 GB, free: 57.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005479/0.4832, allocations: 4.129 MB / 0.5039 GB, free: 53.42 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008204/0.484, allocations: 474.2 kB / 0.5044 GB, free: 52.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/0.4843, allocations: 39.98 kB / 0.5044 GB, free: 52.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.4853, allocations: 83.94 kB / 0.5045 GB, free: 52.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/0.4855, allocations: 156.4 kB / 0.5046 GB, free: 52.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.4856, allocations: 55.97 kB / 0.5047 GB, free: 52.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001681/0.4873, allocations: 1.714 MB / 0.5064 GB, free: 50.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4873, allocations: 0 / 0.5064 GB, free: 50.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001888/0.4892, allocations: 0.6889 MB / 0.507 GB, free: 50.22 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.0015/0.4907, allocations: 472.3 kB / 0.5075 GB, free: 49.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003951/0.4947, allocations: 2.737 MB / 0.5102 GB, free: 47.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4947, allocations: 0 / 0.5102 GB, free: 47.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002259/0.4969, allocations: 1.84 MB / 0.512 GB, free: 45.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.4988, allocations: 0.4953 MB / 0.5125 GB, free: 44.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008559/0.5073, allocations: 7.158 MB / 0.5194 GB, free: 37.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.509, allocations: 2.08 MB / 0.5215 GB, free: 35.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001266/0.5102, allocations: 0.4913 MB / 0.522 GB, free: 35.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004045/0.5106, allocations: 160.5 kB / 0.5221 GB, free: 34.9 MB / 430.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5106, allocations: 0 / 0.5221 GB, free: 34.9 MB / 430.1 MB Notification: Performance of Templates: time 0.04927/0.5599, allocations: 35.6 MB / 0.5569 GB, free: 15.68 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.050609924015589]