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.002449/0.002449, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 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.002826/0.002826, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 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.626/1.626, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..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.353e-06/1.353e-06, allocations: 0 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.885e-05, allocations: 6.312 kB / 272.2 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01909/0.01912, allocations: 13.23 MB / 285.5 MB, free: 4.469 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.02913, allocations: 4.416 MB / 289.9 MB, free: 40 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.126/0.1551, allocations: 98.67 kB / 290 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003138/0.1582, allocations: 0.9871 MB / 291 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004078/0.1623, allocations: 1.323 MB / 292.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.1644, allocations: 0.877 MB / 293.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005424/0.1699, allocations: 4.124 MB / 297.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002538/0.1724, allocations: 1.733 MB / 299 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004578/0.177, allocations: 2.8 MB / 301.8 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002942/0.1799, allocations: 1.925 MB / 303.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000786/0.1807, allocations: 0.4969 MB / 304.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.1822, allocations: 0.7071 MB / 304.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007796/0.183, allocations: 1.156 MB / 306.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001576/0.1846, allocations: 1.425 MB / 307.5 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005313/0.1899, allocations: 6.749 MB / 314.3 MB, free: 5.098 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1899, allocations: 0 / 314.3 MB, free: 5.098 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1899, allocations: 0 / 314.3 MB, free: 5.098 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001589/0.1901, allocations: 0 / 314.3 MB, free: 5.098 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.01074/0.2008, allocations: 4.955 MB / 319.2 MB, free: 228 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2009, allocations: 11.98 kB / 319.2 MB, free: 216 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005023/0.2059, allocations: 1.212 MB / 320.5 MB, free: 15 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005671/0.2115, allocations: 2.308 MB / 322.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/0.2118, allocations: 233.4 kB / 323 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007482/0.2125, allocations: 312.7 kB / 323.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009894/0.2224, allocations: 4.445 MB / 327.7 MB, free: 7.688 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.758e-05/0.2225, allocations: 4 kB / 327.7 MB, free: 7.684 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003458/0.2229, allocations: 132.6 kB / 327.9 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001929/0.2231, allocations: 147.2 kB / 328 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007008/0.2301, allocations: 3.201 MB / 331.2 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03559/0.2657, allocations: 20.93 MB / 352.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00622/0.2719, allocations: 2.49 MB / 354.6 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003255/0.2751, allocations: 1.401 MB / 356 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007968/0.2831, allocations: 3.431 MB / 359.5 MB, free: 7.188 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.2831, allocations: 46.39 kB / 359.5 MB, free: 7.129 MB / 314.7 MB Notification: Performance of pre-optimization done (n=120): time 1.111e-05/0.2832, allocations: 0 / 359.5 MB, free: 7.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.01167/0.2948, allocations: 4.35 MB / 363.9 MB, free: 2.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.2949, allocations: 64.41 kB / 363.9 MB, free: 2.691 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003331/0.2982, allocations: 2.045 MB / 366 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.2983, allocations: 45.7 kB / 366 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/0.2999, allocations: 1.656 MB / 367.7 MB, free: 14.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000546/0.3005, allocations: 0.4975 MB / 368.2 MB, free: 14.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007732/0.3012, allocations: 373.1 kB / 368.5 MB, free: 14.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002406/0.3015, allocations: 484.7 kB / 369 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.3025, allocations: 0.5036 MB / 369.5 MB, free: 13.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.3043, allocations: 1.272 MB / 370.8 MB, free: 11.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002999/0.3073, allocations: 1.898 MB / 372.7 MB, free: 9.418 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.3073, allocations: 4 kB / 372.7 MB, free: 9.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004258/0.3116, allocations: 2.084 MB / 374.8 MB, free: 7.414 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.3116, allocations: 12 kB / 374.8 MB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-05/0.3116, allocations: 24.27 kB / 374.8 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.3127, allocations: 330.9 kB / 375.1 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.3143, allocations: 346 kB / 375.5 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008792/0.3231, allocations: 7.416 MB / 382.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.3246, allocations: 67.92 kB / 382.9 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.3247, allocations: 67.98 kB / 383 MB, free: 14.85 MB / 346.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.001779/0.3265, allocations: 0.9179 MB / 383.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004225/0.3269, allocations: 210.9 kB / 384.1 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003882/0.3308, allocations: 1.738 MB / 385.9 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.3308, allocations: 12 kB / 385.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.3309, allocations: 8 kB / 385.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.3309, allocations: 7.984 kB / 385.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009982/0.3409, allocations: 4.905 MB / 390.8 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.487e-05/0.3409, allocations: 8.188 kB / 390.8 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000775/0.3417, allocations: 158.8 kB / 391 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001817/0.3435, allocations: 0.5211 MB / 391.5 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.3436, allocations: 35.98 kB / 391.5 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01454/0.3581, allocations: 13.14 MB / 404.7 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.3581, allocations: 4.031 kB / 404.7 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005463/0.3636, allocations: 2.543 MB / 407.2 MB, free: 5.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.3647, allocations: 310.8 kB / 407.5 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002581/0.3649, allocations: 31.94 kB / 407.5 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008409/0.3658, allocations: 59.95 kB / 407.6 MB, free: 5.562 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/0.3661, allocations: 104.7 kB / 407.7 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.092e-05/0.3662, allocations: 35.98 kB / 407.7 MB, free: 5.426 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001905/0.3681, allocations: 1.115 MB / 408.9 MB, free: 4.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3681, allocations: 4 kB / 408.9 MB, free: 4.309 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002326/0.3704, allocations: 0.5391 MB / 409.4 MB, free: 3.77 MB / 362.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.0003765/0.3708, allocations: 170.5 kB / 409.6 MB, free: 3.598 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003779/0.3745, allocations: 2.036 MB / 411.6 MB, free: 1.508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3745, allocations: 0 / 411.6 MB, free: 1.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002723/0.3773, allocations: 1.754 MB / 413.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.3794, allocations: 438 kB / 413.8 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009942/0.3893, allocations: 5.194 MB / 419 MB, free: 9.973 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002123/0.3914, allocations: 1.622 MB / 420.6 MB, free: 8.324 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001176/0.3926, allocations: 310.3 kB / 420.9 MB, free: 8.016 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/0.3929, allocations: 116.5 kB / 421 MB, free: 7.902 MB / 378.7 MB Notification: Performance of SimCode: time 1.142e-06/0.3929, allocations: 0 / 421 MB, free: 7.902 MB / 378.7 MB Notification: Performance of Templates: time 0.1605/0.5535, allocations: 25.67 MB / 446.7 MB, free: 109 MB / 378.7 MB " [Timeout remaining time 659] 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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.033350019948557]