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.001894/0.001894, allocations: 85.44 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.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.001759/0.001759, allocations: 163.6 kB / 23.96 MB, free: 4.164 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.428/1.428, allocations: 177.1 MB / 204.3 MB, free: 9.199 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 1.262e-06/1.262e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.485e-05, allocations: 5.375 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01567/0.01569, allocations: 12.52 MB / 337.6 MB, free: 7.793 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.02675, allocations: 5.112 MB / 342.7 MB, free: 3.453 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.02916, allocations: 103.4 kB / 342.8 MB, free: 3.352 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003435/0.0326, allocations: 1.052 MB / 343.9 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00488/0.03748, allocations: 1.51 MB / 345.4 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.04033, allocations: 1.003 MB / 346.4 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006394/0.04672, allocations: 4.57 MB / 351 MB, free: 11.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003262/0.04999, allocations: 1.791 MB / 352.8 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005498/0.05548, allocations: 3.014 MB / 355.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004066/0.05955, allocations: 1.956 MB / 357.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001336/0.06088, allocations: 0.5352 MB / 358.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.06339, allocations: 0.8976 MB / 359.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001765/0.06516, allocations: 1.414 MB / 360.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002591/0.06775, allocations: 1.567 MB / 362.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008876/0.07662, allocations: 7.452 MB / 369.6 MB, free: 8.445 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.07663, allocations: 0 / 369.6 MB, free: 8.445 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.07663, allocations: 4 kB / 369.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001377/0.07677, allocations: 0 / 369.6 MB, free: 8.441 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.0131/0.08987, allocations: 5.013 MB / 374.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.08991, allocations: 12.03 kB / 374.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004851/0.09476, allocations: 0.9077 MB / 375.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005045/0.09981, allocations: 2.752 MB / 378.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.1, allocations: 254.9 kB / 378.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000562/0.1006, allocations: 340.1 kB / 378.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008326/0.1089, allocations: 4.709 MB / 383.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.111e-05/0.109, allocations: 7.953 kB / 383.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003527/0.1093, allocations: 136 kB / 383.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001833/0.1095, allocations: 158.6 kB / 383.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007308/0.1168, allocations: 3.911 MB / 387.8 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.022/0.1388, allocations: 12.11 MB / 399.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006775/0.1456, allocations: 2.972 MB / 402.9 MB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003156/0.1488, allocations: 1.571 MB / 404.5 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007763/0.1565, allocations: 3.61 MB / 408.1 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.1566, allocations: 47.88 kB / 408.1 MB, free: 1.531 MB / 366.1 MB Notification: Performance of pre-optimization done (n=165): time 4.328e-06/0.1566, allocations: 0 / 408.1 MB, free: 1.531 MB / 366.1 MB Notification: Performance of matching and sorting (n=185): time 0.0187/0.1753, allocations: 7.414 MB / 415.5 MB, free: 10.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.1753, allocations: 73.41 kB / 415.6 MB, free: 9.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003906/0.1792, allocations: 2.464 MB / 418.1 MB, free: 7.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002806/0.1795, allocations: 53.7 kB / 418.1 MB, free: 7.434 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001458/0.181, allocations: 1.681 MB / 419.8 MB, free: 5.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007262/0.1817, allocations: 0.6429 MB / 420.4 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006615/0.1824, allocations: 339.4 kB / 420.8 MB, free: 4.746 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.1825, allocations: 305.1 kB / 421.1 MB, free: 4.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.1844, allocations: 0.9136 MB / 422 MB, free: 3.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.1866, allocations: 1.327 MB / 423.3 MB, free: 2.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004244/0.1908, allocations: 2.363 MB / 425.7 MB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.1908, allocations: 8 kB / 425.7 MB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.0063/0.1971, allocations: 3.047 MB / 428.7 MB, free: 12.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.1971, allocations: 8.25 kB / 428.7 MB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.1972, allocations: 16 kB / 428.7 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.1988, allocations: 0.5438 MB / 429.3 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.2008, allocations: 435.3 kB / 429.7 MB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.2119, allocations: 7.22 MB / 436.9 MB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.2136, allocations: 79.95 kB / 437 MB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003032/0.2139, allocations: 87.97 kB / 437.1 MB, free: 3.891 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.002378/0.2163, allocations: 1.161 MB / 438.3 MB, free: 2.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006884/0.217, allocations: 254.4 kB / 438.5 MB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006535/0.2235, allocations: 2.845 MB / 441.4 MB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.277e-05/0.2236, allocations: 24 kB / 441.4 MB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.597e-05/0.2236, allocations: 16.06 kB / 441.4 MB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/0.2236, allocations: 11.91 kB / 441.4 MB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/0.236, allocations: 5.474 MB / 446.9 MB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.2361, allocations: 0 / 446.9 MB, free: 10 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.2375, allocations: 287.7 kB / 447.2 MB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/0.2394, allocations: 0.6276 MB / 447.8 MB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001747/0.2396, allocations: 43.92 kB / 447.8 MB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0143/0.2539, allocations: 10.78 MB / 458.6 MB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2539, allocations: 0 / 458.6 MB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00865/0.2625, allocations: 4.133 MB / 462.7 MB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/0.2638, allocations: 482.1 kB / 463.2 MB, free: 9.211 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005075/0.2643, allocations: 40 kB / 463.3 MB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.2657, allocations: 79.94 kB / 463.3 MB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000407/0.2661, allocations: 145.7 kB / 463.5 MB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/0.2663, allocations: 55.97 kB / 463.5 MB, free: 8.895 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003046/0.2693, allocations: 1.71 MB / 465.2 MB, free: 7.168 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2693, allocations: 0 / 465.2 MB, free: 7.168 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002791/0.2721, allocations: 0.6913 MB / 465.9 MB, free: 6.477 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.001897/0.274, allocations: 474.6 kB / 466.4 MB, free: 6.164 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006079/0.2801, allocations: 2.736 MB / 469.1 MB, free: 3.402 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.2801, allocations: 0 / 469.1 MB, free: 3.402 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003882/0.284, allocations: 1.841 MB / 471 MB, free: 1.508 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/0.287, allocations: 0.5047 MB / 471.5 MB, free: 1.008 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1565/0.4435, allocations: 6.965 MB / 478.4 MB, free: 123.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002407/0.446, allocations: 2.084 MB / 480.5 MB, free: 123.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001463/0.4474, allocations: 492.8 kB / 481 MB, free: 123.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004737/0.4479, allocations: 161.2 kB / 481.2 MB, free: 123.6 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4479, allocations: 0 / 481.2 MB, free: 123.6 MB / 430.1 MB Notification: Performance of Templates: time 0.05056/0.4984, allocations: 35.37 MB / 0.5044 GB, free: 97.68 MB / 430.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.12922427803278]