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.001116/0.001116, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001534/0.00265, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001051/0.001051, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001274/0.002325, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9036/0.9036, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08307/0.9867, allocations: 53.88 MB / 243.9 MB, free: 14.82 MB / 250.7 MB " [Timeout remaining time 179] 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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+.|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.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..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.[0-9,]+.|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.422e-06/1.422e-06, allocations: 0 / 245.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.587e-05, allocations: 5.125 kB / 245.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses): time 0.01476/0.01478, allocations: 13.82 MB / 259.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007622/0.0224, allocations: 5.496 MB / 264.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.02341, allocations: 103.4 kB / 264.7 MB, free: 9.996 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.02498, allocations: 1.087 MB / 265.7 MB, free: 8.902 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001974/0.02695, allocations: 1.51 MB / 267.3 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.02809, allocations: 1.013 MB / 268.3 MB, free: 6.367 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002782/0.03087, allocations: 4.599 MB / 272.9 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1052/0.136, allocations: 1.842 MB / 274.7 MB, free: 3.027 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003981/0.14, allocations: 3.48 MB / 278.2 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.1426, allocations: 2.101 MB / 280.3 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007626/0.1433, allocations: 0.5284 MB / 280.8 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.1448, allocations: 0.9079 MB / 281.7 MB, free: 2.953 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008458/0.1456, allocations: 1.159 MB / 282.9 MB, free: 2.949 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.1468, allocations: 1.304 MB / 284.2 MB, free: 2.949 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002909/0.1497, allocations: 3.725 MB / 287.9 MB, free: 2.586 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.297e-06/0.1497, allocations: 0 / 287.9 MB, free: 2.586 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1497, allocations: 0 / 287.9 MB, free: 2.586 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.135e-05/0.1497, allocations: 0.5312 kB / 287.9 MB, free: 2.586 MB / 266.7 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.005585/0.1553, allocations: 5.752 MB / 293.7 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.732e-05/0.1554, allocations: 9.938 kB / 293.7 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002495/0.1578, allocations: 1.169 MB / 294.8 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.1598, allocations: 1.77 MB / 296.6 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.801e-05/0.1599, allocations: 254.4 kB / 296.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003224/0.1603, allocations: 344 kB / 297.2 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002796/0.1631, allocations: 2.557 MB / 299.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.148e-05/0.1631, allocations: 3.953 kB / 299.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/0.1633, allocations: 135.3 kB / 299.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.1635, allocations: 156.2 kB / 300 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.165, allocations: 0.9964 MB / 301 MB, free: 12.94 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009026/0.174, allocations: 8.717 MB / 309.8 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/0.1764, allocations: 1.831 MB / 311.6 MB, free: 3.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008472/0.1773, allocations: 0.7635 MB / 312.3 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.1774, allocations: 69.95 kB / 312.4 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.1775, allocations: 56.56 kB / 312.5 MB, free: 2.148 MB / 282.7 MB Notification: Performance of pre-optimization done (n=205): time 3.176e-06/0.1775, allocations: 0 / 312.5 MB, free: 2.148 MB / 282.7 MB Notification: Performance of matching and sorting (n=227): time 0.007372/0.1848, allocations: 4.691 MB / 317.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.1849, allocations: 77.41 kB / 317.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.1864, allocations: 1.718 MB / 319 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.1865, allocations: 61.7 kB / 319 MB, free: 11.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005851/0.1871, allocations: 1.264 MB / 320.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/0.1875, allocations: 0.788 MB / 321.1 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003777/0.1879, allocations: 356.4 kB / 321.4 MB, free: 9.676 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.224e-05/0.188, allocations: 305.1 kB / 321.7 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/0.1883, allocations: 271.4 kB / 322 MB, free: 9.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/0.1888, allocations: 0.6352 MB / 322.6 MB, free: 8.371 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.1899, allocations: 1.161 MB / 323.8 MB, free: 7.168 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.545e-06/0.1899, allocations: 4 kB / 323.8 MB, free: 7.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=281) (initialization): time 0.001731/0.1916, allocations: 1.417 MB / 325.2 MB, free: 5.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1917, allocations: 10.81 kB / 325.2 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.1917, allocations: 19.98 kB / 325.2 MB, free: 5.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008653/0.1925, allocations: 480.1 kB / 325.7 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.1939, allocations: 0.5548 MB / 326.2 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003808/0.1977, allocations: 4.911 MB / 331.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/0.1983, allocations: 68.02 kB / 331.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.1984, allocations: 63.98 kB / 331.3 MB, free: 15.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (231): * Single equations (assignments): 227 * 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%), (8,35,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005383/0.1989, allocations: 233.4 kB / 331.5 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.1992, allocations: 219.8 kB / 331.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.2009, allocations: 1.434 MB / 333.2 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.2009, allocations: 28 kB / 333.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.2009, allocations: 8 kB / 333.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.2009, allocations: 15.95 kB / 333.2 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004179/0.2051, allocations: 3.465 MB / 336.7 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2051, allocations: 4.281 kB / 336.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008439/0.206, allocations: 397.8 kB / 337.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004182/0.2064, allocations: 282.2 kB / 337.3 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.2074, allocations: 0.5037 MB / 337.9 MB, free: 9.422 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.608e-05/0.2075, allocations: 51.92 kB / 337.9 MB, free: 9.371 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00501/0.2125, allocations: 7.865 MB / 345.8 MB, free: 1.289 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2125, allocations: 3.984 kB / 345.8 MB, free: 1.285 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/0.2146, allocations: 1.92 MB / 347.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.2148, allocations: 47.98 kB / 347.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005082/0.2153, allocations: 72.03 kB / 347.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/0.2155, allocations: 164.9 kB / 348 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-05/0.2156, allocations: 51.97 kB / 348 MB, free: 15.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008772/0.2165, allocations: 0.8017 MB / 348.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2165, allocations: 4 kB / 348.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001414/0.2179, allocations: 0.7147 MB / 349.5 MB, free: 13.61 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (168): * Single equations (assignments): 162 * 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.001236/0.2191, allocations: 0.5808 MB / 350.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001849/0.221, allocations: 1.656 MB / 351.8 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.272e-05/0.221, allocations: 40.25 kB / 351.8 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.2224, allocations: 1.52 MB / 353.3 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/0.225, allocations: 4.757 MB / 358.1 MB, free: 4.426 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02159/0.2466, allocations: 6.133 MB / 364.2 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000738/0.2474, allocations: 0.811 MB / 365 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008958/0.2482, allocations: 327.6 kB / 365.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008486/0.2491, allocations: 0.5186 MB / 365.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2491, allocations: 0 / 365.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of Templates: time 0.04824/0.2973, allocations: 39.55 MB / 405.4 MB, free: 5.547 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.056383700110018]