Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.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.002002/0.002002, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.002173/0.002173, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.456/1.456, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.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: 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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 325.1 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.01e-05/2.149e-05, allocations: 2.281 kB / 325.1 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.02469/0.02471, allocations: 12.53 MB / 337.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01526/0.03997, allocations: 5.101 MB / 342.7 MB, free: 3.348 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003/0.04297, allocations: 103.4 kB / 342.8 MB, free: 3.242 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00489/0.04786, allocations: 1.052 MB / 343.8 MB, free: 2.184 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007611/0.05547, allocations: 1.517 MB / 345.4 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004206/0.05968, allocations: 1.008 MB / 346.4 MB, free: 15.65 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008854/0.06853, allocations: 4.575 MB / 350.9 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004791/0.07332, allocations: 1.791 MB / 352.7 MB, free: 9.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007265/0.08059, allocations: 3.006 MB / 355.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005246/0.08583, allocations: 1.956 MB / 357.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001569/0.0874, allocations: 0.5312 MB / 358.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003362/0.09076, allocations: 0.9093 MB / 359.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002514/0.09328, allocations: 1.41 MB / 360.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00413/0.09741, allocations: 1.571 MB / 362.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01446/0.1119, allocations: 7.448 MB / 369.6 MB, free: 8.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.1119, allocations: 0 / 369.6 MB, free: 8.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1119, allocations: 3.938 kB / 369.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001744/0.112, allocations: 0 / 369.6 MB, free: 8.328 MB / 334.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.01683/0.1289, allocations: 5.013 MB / 374.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1289, allocations: 15.92 kB / 374.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005762/0.1347, allocations: 0.9116 MB / 375.5 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006908/0.1416, allocations: 2.752 MB / 378.3 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003406/0.1419, allocations: 255 kB / 378.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001118/0.1431, allocations: 336.3 kB / 378.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.1542, allocations: 4.71 MB / 383.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-05/0.1543, allocations: 7.953 kB / 383.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005743/0.1549, allocations: 132 kB / 383.7 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002069/0.1551, allocations: 154.7 kB / 383.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008494/0.1636, allocations: 3.911 MB / 387.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02544/0.189, allocations: 12.12 MB / 399.9 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00683/0.1958, allocations: 2.961 MB / 402.8 MB, free: 6.695 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003211/0.199, allocations: 1.587 MB / 404.4 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007876/0.2069, allocations: 3.602 MB / 408 MB, free: 1.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/0.207, allocations: 51.88 kB / 408.1 MB, free: 1.426 MB / 366.1 MB Notification: Performance of pre-optimization done (n=165): time 3.907e-06/0.207, allocations: 4 kB / 408.1 MB, free: 1.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=185): time 0.01838/0.2254, allocations: 7.41 MB / 415.5 MB, free: 9.969 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.2254, allocations: 77.39 kB / 415.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/0.2294, allocations: 2.456 MB / 418 MB, free: 7.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.2295, allocations: 57.7 kB / 418.1 MB, free: 7.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001446/0.231, allocations: 1.681 MB / 419.7 MB, free: 5.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006082/0.2316, allocations: 0.6468 MB / 420.4 MB, free: 4.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006256/0.2322, allocations: 331.5 kB / 420.7 MB, free: 4.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2323, allocations: 305.1 kB / 421 MB, free: 4.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/0.2341, allocations: 0.9175 MB / 421.9 MB, free: 3.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/0.2363, allocations: 1.331 MB / 423.3 MB, free: 1.945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004192/0.2405, allocations: 2.352 MB / 425.6 MB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/0.2405, allocations: 4 kB / 425.6 MB, free: 15.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.006254/0.2468, allocations: 3.058 MB / 428.7 MB, free: 12.37 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.2468, allocations: 15.94 kB / 428.7 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.2468, allocations: 8 kB / 428.7 MB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/0.2485, allocations: 0.548 MB / 429.2 MB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/0.2505, allocations: 427.3 kB / 429.7 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.2613, allocations: 7.221 MB / 436.9 MB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.2628, allocations: 87.81 kB / 437 MB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002081/0.263, allocations: 79.98 kB / 437 MB, free: 3.785 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.002117/0.2651, allocations: 1.173 MB / 438.2 MB, free: 2.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005799/0.2657, allocations: 250.4 kB / 438.5 MB, free: 2.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006146/0.2718, allocations: 2.846 MB / 441.3 MB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-05/0.2719, allocations: 23.94 kB / 441.3 MB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.088e-05/0.2719, allocations: 8 kB / 441.3 MB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.894e-05/0.2719, allocations: 15.95 kB / 441.4 MB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.2831, allocations: 5.481 MB / 446.8 MB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.2831, allocations: 0 / 446.8 MB, free: 9.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/0.2846, allocations: 283.7 kB / 447.1 MB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001863/0.2865, allocations: 0.6199 MB / 447.7 MB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/0.2867, allocations: 55.95 kB / 447.8 MB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0138/0.3005, allocations: 10.76 MB / 458.6 MB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3005, allocations: 4.031 kB / 458.6 MB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008191/0.3087, allocations: 4.125 MB / 462.7 MB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/0.3099, allocations: 474.2 kB / 463.1 MB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004656/0.3104, allocations: 43.92 kB / 463.2 MB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.3117, allocations: 87.92 kB / 463.3 MB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003715/0.3121, allocations: 145.6 kB / 463.4 MB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/0.3122, allocations: 51.98 kB / 463.5 MB, free: 8.797 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003019/0.3152, allocations: 1.714 MB / 465.2 MB, free: 7.066 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3152, allocations: 0 / 465.2 MB, free: 7.066 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002577/0.3178, allocations: 0.6875 MB / 465.9 MB, free: 6.379 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.001825/0.3196, allocations: 478.1 kB / 466.3 MB, free: 6.031 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005814/0.3254, allocations: 2.727 MB / 469.1 MB, free: 3.277 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3254, allocations: 0 / 469.1 MB, free: 3.277 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003391/0.3288, allocations: 1.85 MB / 470.9 MB, free: 1.375 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/0.3313, allocations: 0.4926 MB / 471.4 MB, free: 0.8867 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1509/0.4822, allocations: 6.968 MB / 478.4 MB, free: 123.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002262/0.4844, allocations: 2.085 MB / 480.5 MB, free: 123.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001407/0.4858, allocations: 493.4 kB / 480.9 MB, free: 123.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/0.4863, allocations: 168.2 kB / 481.1 MB, free: 123.5 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4863, allocations: 0 / 481.1 MB, free: 123.5 MB / 430.1 MB Notification: Performance of Templates: time 0.04811/0.5344, allocations: 35.37 MB / 0.5044 GB, free: 97.46 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.3654022216796875]