Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.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.0007045/0.0007045, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009142/0.001619, allocations: 449.7 kB / 10.37 MB, free: 324 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.0006754/0.0006754, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008359/0.001511, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9433/0.9433, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08705/1.03, allocations: 53.86 MB / 243.7 MB, free: 14.91 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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.661e-05, allocations: 2.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01034/0.01036, allocations: 13.05 MB / 258.1 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007834/0.01819, allocations: 4.62 MB / 262.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.02022, allocations: 99.38 kB / 262.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002432/0.02265, allocations: 1.017 MB / 263.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003767/0.02642, allocations: 1.32 MB / 265.1 MB, free: 9.441 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.02854, allocations: 0.8726 MB / 266 MB, free: 8.566 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004971/0.03351, allocations: 4.151 MB / 270.2 MB, free: 4.398 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.03561, allocations: 1.773 MB / 271.9 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1194/0.155, allocations: 3.123 MB / 275 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003151/0.1582, allocations: 1.911 MB / 277 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009569/0.1591, allocations: 0.4917 MB / 277.5 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.1609, allocations: 0.7127 MB / 278.2 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008598/0.1618, allocations: 0.9128 MB / 279.1 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00199/0.1638, allocations: 1.185 MB / 280.3 MB, free: 4.496 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004084/0.1679, allocations: 3.214 MB / 283.5 MB, free: 4.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.489e-05/0.1679, allocations: 5.375 kB / 283.5 MB, free: 4.227 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1679, allocations: 0 / 283.5 MB, free: 4.227 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.817e-05/0.168, allocations: 0 / 283.5 MB, free: 4.227 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.007701/0.1757, allocations: 4.957 MB / 288.4 MB, free: 2.641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.1757, allocations: 13.38 kB / 288.5 MB, free: 2.641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00325/0.1789, allocations: 1.082 MB / 289.5 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.1815, allocations: 1.457 MB / 291 MB, free: 2.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.1816, allocations: 234.9 kB / 291.2 MB, free: 2.086 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003886/0.182, allocations: 317.1 kB / 291.5 MB, free: 2.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003508/0.1855, allocations: 2.38 MB / 293.9 MB, free: 1.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-05/0.1856, allocations: 14.94 kB / 293.9 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.1858, allocations: 127.1 kB / 294 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.186, allocations: 147.8 kB / 294.2 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.1877, allocations: 0.9251 MB / 295.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.1993, allocations: 8.127 MB / 303.2 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/0.202, allocations: 1.71 MB / 305 MB, free: 10.05 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.2034, allocations: 0.8506 MB / 305.8 MB, free: 9.242 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003526/0.2069, allocations: 1.956 MB / 307.8 MB, free: 7.344 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.2069, allocations: 47.56 kB / 307.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of pre-optimization done (n=120): time 3.367e-06/0.2069, allocations: 0 / 307.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=123): time 0.004359/0.2113, allocations: 2.494 MB / 310.3 MB, free: 4.809 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.2113, allocations: 64.41 kB / 310.4 MB, free: 4.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000874/0.2122, allocations: 1.106 MB / 311.5 MB, free: 3.828 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.772e-05/0.2122, allocations: 49.7 kB / 311.5 MB, free: 3.773 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/0.2127, allocations: 1.249 MB / 312.8 MB, free: 2.578 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.2129, allocations: 452.5 kB / 313.2 MB, free: 2.164 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.2132, allocations: 275 kB / 313.5 MB, free: 1.922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.746e-05/0.2132, allocations: 313 kB / 313.8 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.2135, allocations: 174.8 kB / 314 MB, free: 1.441 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.2139, allocations: 0.6539 MB / 314.6 MB, free: 0.625 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007524/0.2147, allocations: 0.9768 MB / 315.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.2147, allocations: 4 kB / 315.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001205/0.2159, allocations: 1.074 MB / 316.7 MB, free: 14.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2159, allocations: 12 kB / 316.7 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.2159, allocations: 16 kB / 316.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004514/0.2164, allocations: 238.5 kB / 316.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.2174, allocations: 408.5 kB / 317.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/0.2201, allocations: 4.802 MB / 322.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006498/0.2208, allocations: 58.44 kB / 322.2 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.647e-05/0.2209, allocations: 52 kB / 322.2 MB, free: 8.805 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006497/0.2215, allocations: 212.4 kB / 322.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.2217, allocations: 147.9 kB / 322.6 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.2229, allocations: 0.9746 MB / 323.6 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.2229, allocations: 12 kB / 323.6 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.2229, allocations: 8 kB / 323.6 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.2229, allocations: 7.641 kB / 323.6 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00287/0.2258, allocations: 2.114 MB / 325.7 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.2258, allocations: 4 kB / 325.7 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.2262, allocations: 171.5 kB / 325.9 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.2265, allocations: 187 kB / 326.1 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007028/0.2272, allocations: 386.1 kB / 326.4 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.2273, allocations: 31.98 kB / 326.5 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004708/0.232, allocations: 8.348 MB / 334.8 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.232, allocations: 4 kB / 334.8 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.2334, allocations: 1.285 MB / 336.1 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.2336, allocations: 28 kB / 336.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003488/0.2339, allocations: 51.97 kB / 336.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.2341, allocations: 103.7 kB / 336.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.2341, allocations: 31.98 kB / 336.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004563/0.2346, allocations: 0.5411 MB / 336.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2346, allocations: 0 / 336.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001384/0.2359, allocations: 0.539 MB / 337.4 MB, free: 9.625 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * 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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000234/0.2362, allocations: 149.7 kB / 337.5 MB, free: 9.484 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.2376, allocations: 1.14 MB / 338.7 MB, free: 8.375 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.695e-05/0.2376, allocations: 29.81 kB / 338.7 MB, free: 8.344 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.2389, allocations: 1.135 MB / 339.8 MB, free: 7.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.24, allocations: 0.5654 MB / 340.4 MB, free: 6.637 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/0.2604, allocations: 4.87 MB / 345.3 MB, free: 1.734 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/0.2611, allocations: 0.643 MB / 345.9 MB, free: 1.074 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007423/0.2618, allocations: 230.6 kB / 346.1 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00089/0.2627, allocations: 432.6 kB / 346.6 MB, free: 424 kB / 314.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2627, allocations: 0 / 346.6 MB, free: 424 kB / 314.7 MB Notification: Performance of Templates: time 0.03773/0.3004, allocations: 28.67 MB / 375.2 MB, free: 4.242 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.146105688996613]