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_Inverter.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.002011/0.002011, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002054/0.002054, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.554/1.554, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 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_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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.782e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01884/0.01887, allocations: 13.24 MB / 285.6 MB, free: 4.512 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009678/0.02855, allocations: 4.416 MB / 290 MB, free: 84 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.1237/0.1523, allocations: 100.6 kB / 290.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003784/0.1561, allocations: 0.981 MB / 291.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00575/0.1618, allocations: 1.325 MB / 292.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.1645, allocations: 0.8773 MB / 293.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00503/0.1696, allocations: 4.126 MB / 297.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/0.1719, allocations: 1.734 MB / 299.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004286/0.1762, allocations: 2.792 MB / 301.9 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003071/0.1792, allocations: 1.933 MB / 303.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00104/0.1803, allocations: 0.4966 MB / 304.4 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.1822, allocations: 0.7089 MB / 305.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007722/0.1829, allocations: 1.147 MB / 306.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001882/0.1848, allocations: 1.428 MB / 307.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00539/0.1902, allocations: 6.742 MB / 314.4 MB, free: 5.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1902, allocations: 3.062 kB / 314.4 MB, free: 5.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1902, allocations: 0 / 314.4 MB, free: 5.117 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001407/0.1903, allocations: 0 / 314.4 MB, free: 5.117 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.0104/0.2007, allocations: 4.951 MB / 319.3 MB, free: 260 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2008, allocations: 16.03 kB / 319.4 MB, free: 244 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/0.2057, allocations: 1.216 MB / 320.6 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005345/0.211, allocations: 2.303 MB / 322.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/0.2113, allocations: 237.4 kB / 323.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006209/0.2119, allocations: 312.3 kB / 323.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008761/0.2207, allocations: 4.439 MB / 327.9 MB, free: 7.719 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.686e-05/0.2207, allocations: 3.984 kB / 327.9 MB, free: 7.715 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003318/0.2211, allocations: 130.8 kB / 328 MB, free: 7.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001923/0.2213, allocations: 153.8 kB / 328.1 MB, free: 7.441 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007087/0.2283, allocations: 3.202 MB / 331.3 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03424/0.2626, allocations: 20.93 MB / 352.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005836/0.2684, allocations: 2.495 MB / 354.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003291/0.2717, allocations: 1.403 MB / 356.2 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007813/0.2795, allocations: 3.436 MB / 359.6 MB, free: 7.195 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/0.2796, allocations: 46.39 kB / 359.6 MB, free: 7.137 MB / 314.7 MB Notification: Performance of pre-optimization done (n=120): time 3.286e-06/0.2796, allocations: 4 kB / 359.6 MB, free: 7.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=123): time 0.01154/0.2911, allocations: 4.341 MB / 364 MB, free: 2.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.2912, allocations: 67.78 kB / 364.1 MB, free: 2.691 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/0.2944, allocations: 2.037 MB / 366.1 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.2946, allocations: 49.7 kB / 366.1 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.2962, allocations: 1.663 MB / 367.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005632/0.2968, allocations: 0.4916 MB / 368.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006378/0.2974, allocations: 377.1 kB / 368.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002387/0.2977, allocations: 484.5 kB / 369.1 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.2987, allocations: 0.5036 MB / 369.6 MB, free: 13.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001954/0.3007, allocations: 1.272 MB / 370.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003039/0.3037, allocations: 1.903 MB / 372.8 MB, free: 9.434 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.3037, allocations: 4 kB / 372.8 MB, free: 9.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004375/0.3081, allocations: 2.075 MB / 374.9 MB, free: 7.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.3081, allocations: 15.19 kB / 374.9 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/0.3082, allocations: 16 kB / 374.9 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.3093, allocations: 319.7 kB / 375.2 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.3107, allocations: 351.7 kB / 375.6 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008097/0.3188, allocations: 7.428 MB / 383 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.3203, allocations: 72.11 kB / 383.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.3204, allocations: 68 kB / 383.1 MB, free: 14.87 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.002022/0.3225, allocations: 0.9128 MB / 384.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004826/0.3229, allocations: 210.9 kB / 384.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003974/0.3269, allocations: 1.743 MB / 386 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.3269, allocations: 12 kB / 386 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.3269, allocations: 4 kB / 386 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.327, allocations: 7.984 kB / 386 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.3372, allocations: 4.9 MB / 390.9 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.3372, allocations: 0 / 390.9 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007941/0.338, allocations: 162.1 kB / 391.1 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00194/0.34, allocations: 0.5318 MB / 391.6 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.3401, allocations: 35.98 kB / 391.7 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/0.3544, allocations: 13.13 MB / 404.8 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.3544, allocations: 4.031 kB / 404.8 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00593/0.3603, allocations: 2.556 MB / 407.3 MB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/0.3615, allocations: 306.8 kB / 407.6 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002605/0.3617, allocations: 28 kB / 407.7 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008281/0.3625, allocations: 67.89 kB / 407.7 MB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003104/0.3629, allocations: 108.7 kB / 407.8 MB, free: 5.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.323e-05/0.363, allocations: 35.98 kB / 407.9 MB, free: 5.461 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001895/0.3648, allocations: 1.115 MB / 409 MB, free: 4.348 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3648, allocations: 0 / 409 MB, free: 4.348 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002261/0.3671, allocations: 0.5352 MB / 409.5 MB, free: 3.812 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.0003884/0.3675, allocations: 175.1 kB / 409.7 MB, free: 3.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003838/0.3713, allocations: 2.036 MB / 411.7 MB, free: 1.551 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3713, allocations: 0 / 411.7 MB, free: 1.551 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002996/0.3743, allocations: 1.761 MB / 413.5 MB, free: 15.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.3766, allocations: 421.6 kB / 413.9 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.3869, allocations: 5.182 MB / 419.1 MB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/0.3891, allocations: 1.63 MB / 420.7 MB, free: 8.379 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001209/0.3903, allocations: 310.3 kB / 421 MB, free: 8.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.3907, allocations: 116.5 kB / 421.1 MB, free: 7.957 MB / 378.7 MB Notification: Performance of SimCode: time 1.904e-06/0.3907, allocations: 4 kB / 421.1 MB, free: 7.953 MB / 378.7 MB Notification: Performance of Templates: time 0.203/0.5937, allocations: 25.67 MB / 446.8 MB, free: 109.2 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 5.9153405169490725]