Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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.001325/0.001325, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00144/0.00144, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 47.92 kB / 378.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2754, allocations: 53.38 MB / 431.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01179/0.2872, allocations: 7.886 MB / 439.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006203/0.2934, allocations: 2.715 MB / 442.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.2945, allocations: 55.62 kB / 442.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001649/0.2962, allocations: 0.5819 MB / 442.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.2985, allocations: 0.7613 MB / 443.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008297/0.2993, allocations: 331.5 kB / 443.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00296/0.3023, allocations: 2.237 MB / 446.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/0.3038, allocations: 1.02 MB / 447.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001705/0.3055, allocations: 1.055 MB / 448.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/0.3077, allocations: 1.323 MB / 449.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004324/0.3082, allocations: 272 kB / 449.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007262/0.3089, allocations: 359.8 kB / 450.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009669/0.3099, allocations: 0.7674 MB / 450.9 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.3112, allocations: 0.9802 MB / 451.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00447/0.3156, allocations: 3.566 MB / 455.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.3156, allocations: 0 / 455.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.3156, allocations: 3.938 kB / 455.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.933e-05/0.3157, allocations: 0 / 455.5 MB, free: 14.73 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.006106/0.3218, allocations: 2.482 MB / 458 MB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3219, allocations: 8.031 kB / 458 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008126/0.3227, allocations: 263.4 kB / 458.2 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002851/0.3255, allocations: 1.246 MB / 459.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.3257, allocations: 131.9 kB / 459.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003397/0.326, allocations: 179.9 kB / 459.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004658/0.3307, allocations: 2.487 MB / 462.3 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.063e-05/0.3307, allocations: 3.953 kB / 462.3 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001923/0.3309, allocations: 75.94 kB / 462.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.331, allocations: 91.5 kB / 462.4 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003863/0.3349, allocations: 1.962 MB / 464.4 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01244/0.3473, allocations: 6.107 MB / 470.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.3492, allocations: 1 MB / 471.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/0.3509, allocations: 0.8038 MB / 472.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.3511, allocations: 44.97 kB / 472.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.3512, allocations: 43.56 kB / 472.4 MB, free: 13.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.677e-06/0.3512, allocations: 0 / 472.4 MB, free: 13.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01543/0.3666, allocations: 5.649 MB / 478 MB, free: 7.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.3667, allocations: 64.41 kB / 478.1 MB, free: 7.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.3684, allocations: 1.075 MB / 479.2 MB, free: 6.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.3685, allocations: 41.7 kB / 479.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007584/0.3693, allocations: 0.8981 MB / 480.1 MB, free: 5.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003735/0.3697, allocations: 384.7 kB / 480.5 MB, free: 5.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003815/0.3701, allocations: 226.9 kB / 480.7 MB, free: 5.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.3702, allocations: 349.9 kB / 481.1 MB, free: 4.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.3714, allocations: 0.6233 MB / 481.7 MB, free: 4.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.3727, allocations: 0.9149 MB / 482.6 MB, free: 3.031 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002599/0.3753, allocations: 1.647 MB / 484.2 MB, free: 1.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.3754, allocations: 4 kB / 484.3 MB, free: 1.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004255/0.3796, allocations: 2.141 MB / 486.4 MB, free: 15.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.3796, allocations: 8.25 kB / 486.4 MB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.3797, allocations: 12 kB / 486.4 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.381, allocations: 475.8 kB / 486.9 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.3821, allocations: 275.5 kB / 487.1 MB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007786/0.3899, allocations: 6.595 MB / 493.7 MB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.3911, allocations: 79.86 kB / 493.8 MB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.3912, allocations: 52.14 kB / 493.9 MB, free: 7.297 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001091/0.3923, allocations: 0.5996 MB / 494.5 MB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.3926, allocations: 135.2 kB / 494.6 MB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003795/0.3964, allocations: 1.932 MB / 496.5 MB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.3964, allocations: 15.94 kB / 496.5 MB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.3964, allocations: 4 kB / 496.6 MB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.3964, allocations: 3.984 kB / 496.6 MB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007375/0.4038, allocations: 3.665 MB / 0.4885 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.4038, allocations: 4 kB / 0.4885 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000852/0.4046, allocations: 175.7 kB / 0.4887 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/0.4061, allocations: 0.5233 MB / 0.4892 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.34e-05/0.4062, allocations: 31.98 kB / 0.4892 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009213/0.4155, allocations: 8.075 MB / 0.4971 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.4155, allocations: 7.938 kB / 0.4971 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005188/0.4206, allocations: 2.839 MB / 0.4999 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008543/0.4215, allocations: 270.8 kB / 0.5001 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.4217, allocations: 31.98 kB / 0.5002 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008458/0.4225, allocations: 71.92 kB / 0.5002 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/0.4228, allocations: 96.7 kB / 0.5003 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.043e-05/0.4229, allocations: 35.98 kB / 0.5004 GB, free: 4.168 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001218/0.4241, allocations: 0.7256 MB / 0.5011 GB, free: 3.434 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4241, allocations: 4 kB / 0.5011 GB, free: 3.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001753/0.4259, allocations: 404 kB / 0.5015 GB, free: 3.035 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (88): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003922/0.4262, allocations: 190 kB / 0.5016 GB, free: 2.844 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003718/0.43, allocations: 1.948 MB / 0.5035 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.43, allocations: 4.312 kB / 0.5035 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002481/0.4325, allocations: 1.357 MB / 0.5049 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.4343, allocations: 323.4 kB / 0.5052 GB, free: 15.13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007094/0.4414, allocations: 3.953 MB / 0.509 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.4429, allocations: 1.054 MB / 0.5101 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001001/0.4439, allocations: 286.7 kB / 0.5103 GB, free: 9.711 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002801/0.4442, allocations: 91.42 kB / 0.5104 GB, free: 9.621 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4442, allocations: 0 / 0.5104 GB, free: 9.621 MB / 430.1 MB Notification: Performance of Templates: time 0.04411/0.4883, allocations: 23.95 MB / 0.5338 GB, free: 2.02 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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.773409394081682]