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.001388/0.001388, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 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.001589/0.001589, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.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.002409/0.002409, allocations: 51.92 kB / 378.3 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2685, allocations: 53.37 MB / 431.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01698/0.2855, allocations: 12.5 MB / 444.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.2959, allocations: 5.09 MB / 449.2 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.2981, allocations: 107.3 kB / 449.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003257/0.3014, allocations: 1.04 MB / 450.4 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004765/0.3062, allocations: 1.468 MB / 451.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003122/0.3093, allocations: 1.005 MB / 452.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006378/0.3157, allocations: 4.369 MB / 457.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003474/0.3191, allocations: 1.787 MB / 459 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00328/0.3224, allocations: 2.08 MB / 461.1 MB, free: 9.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004078/0.3265, allocations: 2.312 MB / 463.4 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001149/0.3276, allocations: 0.5312 MB / 463.9 MB, free: 6.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.3299, allocations: 0.8979 MB / 464.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001848/0.3318, allocations: 1.375 MB / 466.2 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003018/0.3348, allocations: 1.863 MB / 468 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008547/0.3433, allocations: 7.428 MB / 475.5 MB, free: 10.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.591e-05/0.3434, allocations: 11.92 kB / 475.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3434, allocations: 0 / 475.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001379/0.3435, allocations: 8 kB / 475.5 MB, free: 10.63 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.01222/0.3557, allocations: 5.048 MB / 480.5 MB, free: 5.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3558, allocations: 8.031 kB / 480.6 MB, free: 5.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004613/0.3604, allocations: 0.9155 MB / 481.5 MB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005782/0.3662, allocations: 2.756 MB / 484.2 MB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.3664, allocations: 246.7 kB / 484.5 MB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006528/0.3671, allocations: 339.9 kB / 484.8 MB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008637/0.3757, allocations: 4.702 MB / 489.5 MB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.822e-05/0.3758, allocations: 7.953 kB / 489.5 MB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003375/0.3761, allocations: 140 kB / 489.6 MB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001789/0.3763, allocations: 150.7 kB / 489.8 MB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007495/0.3838, allocations: 3.915 MB / 493.7 MB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02212/0.4059, allocations: 12.12 MB / 0.494 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006471/0.4124, allocations: 2.964 MB / 0.4969 GB, free: 8.965 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002996/0.4154, allocations: 1.564 MB / 0.4984 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007604/0.423, allocations: 3.602 MB / 0.5019 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.656e-05/0.423, allocations: 51.88 kB / 0.502 GB, free: 3.719 MB / 414.1 MB Notification: Performance of pre-optimization done (n=165): time 4.088e-06/0.423, allocations: 0 / 0.502 GB, free: 3.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.01724/0.4403, allocations: 7.425 MB / 0.5092 GB, free: 12.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.4403, allocations: 73.41 kB / 0.5093 GB, free: 12.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003646/0.444, allocations: 2.464 MB / 0.5117 GB, free: 9.668 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001588/0.4441, allocations: 57.7 kB / 0.5117 GB, free: 9.605 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.4455, allocations: 1.681 MB / 0.5134 GB, free: 7.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006157/0.4462, allocations: 0.6545 MB / 0.514 GB, free: 7.246 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005889/0.4467, allocations: 339.4 kB / 0.5143 GB, free: 6.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4469, allocations: 305.1 kB / 0.5146 GB, free: 6.609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/0.4486, allocations: 0.9135 MB / 0.5155 GB, free: 5.695 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002118/0.4508, allocations: 1.335 MB / 0.5168 GB, free: 4.203 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00403/0.4548, allocations: 2.359 MB / 0.5191 GB, free: 1.699 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.4548, allocations: 4 kB / 0.5191 GB, free: 1.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006126/0.4609, allocations: 3.054 MB / 0.5221 GB, free: 14.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.461, allocations: 8 kB / 0.5221 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.461, allocations: 15.98 kB / 0.5221 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/0.4626, allocations: 0.548 MB / 0.5227 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.4644, allocations: 435.3 kB / 0.5231 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.4747, allocations: 7.215 MB / 0.5301 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.4764, allocations: 91.83 kB / 0.5302 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.4765, allocations: 75.97 kB / 0.5303 GB, free: 6.039 MB / 446.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.002004/0.4786, allocations: 1.161 MB / 0.5314 GB, free: 4.867 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005187/0.4791, allocations: 258.3 kB / 0.5317 GB, free: 4.613 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005794/0.4849, allocations: 2.861 MB / 0.5345 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.099e-05/0.4849, allocations: 20 kB / 0.5345 GB, free: 1.703 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.4849, allocations: 8 kB / 0.5345 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/0.4849, allocations: 7.969 kB / 0.5345 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2037/0.6886, allocations: 5.483 MB / 0.5399 GB, free: 99.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.6886, allocations: 2.031 kB / 0.5399 GB, free: 99.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.6899, allocations: 280.4 kB / 0.5401 GB, free: 99.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/0.6914, allocations: 0.6188 MB / 0.5407 GB, free: 98.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.6916, allocations: 44.47 kB / 0.5408 GB, free: 98.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009572/0.7011, allocations: 10.79 MB / 0.5513 GB, free: 90.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.7011, allocations: 3.906 kB / 0.5513 GB, free: 90.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006067/0.7072, allocations: 4.126 MB / 0.5554 GB, free: 89.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.7083, allocations: 478 kB / 0.5558 GB, free: 88.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002637/0.7085, allocations: 45.47 kB / 0.5559 GB, free: 88.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.7095, allocations: 84.27 kB / 0.5559 GB, free: 88.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/0.7098, allocations: 143.1 kB / 0.5561 GB, free: 88.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.7099, allocations: 54.66 kB / 0.5561 GB, free: 88.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00186/0.7118, allocations: 1.713 MB / 0.5578 GB, free: 87.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7118, allocations: 0 / 0.5578 GB, free: 87.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001839/0.7136, allocations: 0.6925 MB / 0.5585 GB, free: 86.77 MB / 446.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.001529/0.7152, allocations: 476.5 kB / 0.5589 GB, free: 86.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004017/0.7192, allocations: 2.737 MB / 0.5616 GB, free: 84.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.7192, allocations: 0 / 0.5616 GB, free: 84.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002388/0.7216, allocations: 1.834 MB / 0.5634 GB, free: 82.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.7237, allocations: 0.5031 MB / 0.5639 GB, free: 82.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0093/0.733, allocations: 7.161 MB / 0.5709 GB, free: 75.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/0.7347, allocations: 2.087 MB / 0.5729 GB, free: 72.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001357/0.736, allocations: 487.1 kB / 0.5734 GB, free: 72.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/0.7364, allocations: 163.4 kB / 0.5735 GB, free: 72.29 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.7364, allocations: 0 / 0.5735 GB, free: 72.29 MB / 446.1 MB Notification: Performance of Templates: time 0.04972/0.7861, allocations: 39.81 MB / 0.6124 GB, free: 32.95 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 -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/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_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.769691767171025]