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.001603/0.001603, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.00188/0.00188, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.501/1.501, allocations: 230.6 MB / 258.2 MB, free: 7.742 MB / 206.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_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 0.001593/0.001593, allocations: 43.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2597, allocations: 53.37 MB / 432.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01551/0.2752, allocations: 11.78 MB / 444.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009057/0.2842, allocations: 4.26 MB / 448.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002534/0.2868, allocations: 95.44 kB / 448.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003358/0.2901, allocations: 0.9824 MB / 449.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004649/0.2948, allocations: 1.293 MB / 450.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00291/0.2977, allocations: 0.8767 MB / 451.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006163/0.3038, allocations: 3.937 MB / 455.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003091/0.3069, allocations: 1.781 MB / 457.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003782/0.3107, allocations: 1.908 MB / 459.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004677/0.3154, allocations: 2.207 MB / 461.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.3167, allocations: 0.5039 MB / 462 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002252/0.319, allocations: 0.7068 MB / 462.7 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001293/0.3203, allocations: 1.102 MB / 463.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002717/0.323, allocations: 1.649 MB / 465.4 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008893/0.3319, allocations: 6.68 MB / 472.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.3319, allocations: 0 / 472.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3319, allocations: 0 / 472.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002142/0.3321, allocations: 0 / 472.1 MB, free: 14.71 MB / 382.1 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.01378/0.3459, allocations: 4.334 MB / 476.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3459, allocations: 12.03 kB / 476.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004255/0.3502, allocations: 0.8027 MB / 477.3 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005563/0.3557, allocations: 2.341 MB / 479.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002703/0.356, allocations: 238.2 kB / 479.8 MB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009133/0.3569, allocations: 315.9 kB / 480.1 MB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008855/0.3658, allocations: 4.381 MB / 484.5 MB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.248e-05/0.3659, allocations: 4 kB / 484.5 MB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003379/0.3662, allocations: 124 kB / 484.7 MB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000172/0.3664, allocations: 154.3 kB / 484.8 MB, free: 1.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00721/0.3736, allocations: 3.601 MB / 488.4 MB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02195/0.3955, allocations: 11.19 MB / 499.6 MB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005548/0.4011, allocations: 2.647 MB / 0.4905 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003065/0.4041, allocations: 1.504 MB / 0.4919 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007324/0.4115, allocations: 3.341 MB / 0.4952 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/0.4115, allocations: 47.56 kB / 0.4953 GB, free: 11.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.487e-06/0.4115, allocations: 0 / 0.4953 GB, free: 11.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.01158/0.4231, allocations: 4.967 MB / 0.5001 GB, free: 6.258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.4232, allocations: 64.41 kB / 0.5002 GB, free: 6.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.4255, allocations: 1.529 MB / 0.5017 GB, free: 4.641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.4257, allocations: 49.7 kB / 0.5017 GB, free: 4.586 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.4268, allocations: 1.457 MB / 0.5031 GB, free: 3.117 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00043/0.4272, allocations: 460.1 kB / 0.5036 GB, free: 2.664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004849/0.4277, allocations: 287.5 kB / 0.5038 GB, free: 2.379 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4278, allocations: 305.1 kB / 0.5041 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.429, allocations: 0.652 MB / 0.5048 GB, free: 1.426 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.4306, allocations: 1.154 MB / 0.5059 GB, free: 68 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002888/0.4334, allocations: 1.902 MB / 0.5078 GB, free: 13.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.4335, allocations: 4 kB / 0.5078 GB, free: 13.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.00431/0.4378, allocations: 2.312 MB / 0.51 GB, free: 11.63 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.4378, allocations: 11.94 kB / 0.51 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-05/0.4378, allocations: 19.94 kB / 0.51 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008588/0.4387, allocations: 323.4 kB / 0.5104 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.4401, allocations: 347.4 kB / 0.5107 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006853/0.4469, allocations: 6.181 MB / 0.5167 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.4484, allocations: 76.16 kB / 0.5168 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/0.4485, allocations: 72 kB / 0.5169 GB, free: 4.297 MB / 430.1 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.001787/0.4503, allocations: 1.005 MB / 0.5178 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003895/0.4507, allocations: 174.8 kB / 0.518 GB, free: 3.109 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004119/0.4548, allocations: 2.022 MB / 0.52 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.4548, allocations: 12 kB / 0.52 GB, free: 1.047 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/0.4549, allocations: 8 kB / 0.52 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.4549, allocations: 11.91 kB / 0.52 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008076/0.4629, allocations: 4.078 MB / 0.524 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.463, allocations: 4 kB / 0.524 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008388/0.4638, allocations: 171.9 kB / 0.5242 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0014/0.4652, allocations: 500 kB / 0.5246 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/0.4653, allocations: 35.98 kB / 0.5247 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/0.4772, allocations: 10.71 MB / 0.5351 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.4772, allocations: 8.031 kB / 0.5351 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2174/0.6946, allocations: 2.93 MB / 0.538 GB, free: 98.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.6957, allocations: 327.9 kB / 0.5383 GB, free: 98.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/0.696, allocations: 31.95 kB / 0.5383 GB, free: 98.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008489/0.6968, allocations: 63.39 kB / 0.5384 GB, free: 98.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002887/0.6971, allocations: 104.6 kB / 0.5385 GB, free: 98.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.151e-05/0.6972, allocations: 41.5 kB / 0.5385 GB, free: 98.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001547/0.6988, allocations: 1.027 MB / 0.5396 GB, free: 98.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6988, allocations: 0 / 0.5396 GB, free: 98.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002123/0.7009, allocations: 0.5406 MB / 0.5401 GB, free: 98.43 MB / 446.1 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.0003281/0.7012, allocations: 164.7 kB / 0.5402 GB, free: 98.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003159/0.7044, allocations: 1.985 MB / 0.5422 GB, free: 97.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7044, allocations: 0 / 0.5422 GB, free: 97.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00204/0.7064, allocations: 1.499 MB / 0.5436 GB, free: 96.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.7084, allocations: 426.1 kB / 0.544 GB, free: 96.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008308/0.7167, allocations: 5.551 MB / 0.5495 GB, free: 93.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/0.7181, allocations: 1.679 MB / 0.5511 GB, free: 93.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004817/0.7186, allocations: 128.1 kB / 0.5512 GB, free: 92.98 MB / 446.1 MB Notification: Performance of SimCode: time 1.343e-06/0.7186, allocations: 4 kB / 0.5512 GB, free: 92.98 MB / 446.1 MB Notification: Performance of Templates: time 0.087/0.8056, allocations: 109.8 MB / 0.6585 GB, free: 0.582 MB / 462.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/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/jenkins1/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: 12.968214946013177]