Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 189.3 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 43.94 kB / 371.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2303, allocations: 52.19 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01159/0.2419, allocations: 8.92 MB / 432.8 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006097/0.248, allocations: 2.849 MB / 435.7 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.2495, allocations: 55.62 kB / 435.7 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.2516, allocations: 0.6329 MB / 436.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.2543, allocations: 0.7535 MB / 437.1 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.2554, allocations: 335.4 kB / 437.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003605/0.259, allocations: 2.229 MB / 439.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.2607, allocations: 1.024 MB / 440.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.2625, allocations: 1.04 MB / 441.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/0.2648, allocations: 1.32 MB / 443 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005973/0.2654, allocations: 268 kB / 443.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008912/0.2663, allocations: 367.8 kB / 443.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008902/0.2672, allocations: 0.7635 MB / 444.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001639/0.2689, allocations: 1.213 MB / 445.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004543/0.2734, allocations: 3.542 MB / 449.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2734, allocations: 0 / 449.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2734, allocations: 0 / 449.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000107/0.2735, allocations: 0 / 449.2 MB, free: 5.258 MB / 350.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.005831/0.2793, allocations: 2.458 MB / 451.6 MB, free: 2.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.2794, allocations: 8.031 kB / 451.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000731/0.2801, allocations: 263.4 kB / 451.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/0.2829, allocations: 1.25 MB / 453.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.283, allocations: 135.9 kB / 453.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003797/0.2834, allocations: 192.1 kB / 453.5 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004881/0.2883, allocations: 2.371 MB / 455.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-05/0.2884, allocations: 11.89 kB / 455.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.2886, allocations: 72 kB / 455.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.2887, allocations: 91.5 kB / 456 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00419/0.2929, allocations: 1.966 MB / 458 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01345/0.3063, allocations: 6.941 MB / 464.9 MB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.3083, allocations: 1.001 MB / 465.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/0.31, allocations: 0.803 MB / 466.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/0.3102, allocations: 40.97 kB / 466.8 MB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.3102, allocations: 43.56 kB / 466.8 MB, free: 3.305 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.845e-06/0.3102, allocations: 0 / 466.8 MB, free: 3.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01438/0.3246, allocations: 5.668 MB / 472.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.3247, allocations: 60.41 kB / 472.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.3267, allocations: 1.222 MB / 473.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001586/0.3269, allocations: 41.7 kB / 473.8 MB, free: 12.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007918/0.3277, allocations: 0.887 MB / 474.7 MB, free: 11.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004063/0.3281, allocations: 384.7 kB / 475.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003845/0.3285, allocations: 222.9 kB / 475.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.3287, allocations: 361.9 kB / 475.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.3298, allocations: 0.6116 MB / 476.2 MB, free: 9.773 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.3312, allocations: 0.9227 MB / 477.2 MB, free: 8.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00258/0.3338, allocations: 1.635 MB / 478.8 MB, free: 6.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.659e-06/0.3338, allocations: 4 kB / 478.8 MB, free: 6.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004203/0.338, allocations: 2.149 MB / 481 MB, free: 4.789 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.338, allocations: 8 kB / 481 MB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.338, allocations: 12 kB / 481 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/0.3392, allocations: 476.1 kB / 481.4 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.3403, allocations: 275.6 kB / 481.7 MB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007631/0.3479, allocations: 6.704 MB / 488.4 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.349, allocations: 83.86 kB / 488.5 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.3491, allocations: 51.94 kB / 488.5 MB, free: 12.84 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.001118/0.3502, allocations: 0.599 MB / 489.1 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003155/0.3506, allocations: 139.1 kB / 489.3 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/0.3544, allocations: 1.952 MB / 491.2 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.3544, allocations: 8 kB / 491.2 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.3544, allocations: 8 kB / 491.2 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.3544, allocations: 3.984 kB / 491.3 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007754/0.3622, allocations: 4.104 MB / 495.4 MB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.3622, allocations: 4 kB / 495.4 MB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/0.363, allocations: 179.7 kB / 495.5 MB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.3644, allocations: 0.5194 MB / 496.1 MB, free: 5.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-05/0.3645, allocations: 31.98 kB / 496.1 MB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008754/0.3732, allocations: 8.232 MB / 0.4925 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.3732, allocations: 4 kB / 0.4925 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005063/0.3783, allocations: 2.855 MB / 0.4953 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008776/0.3792, allocations: 275 kB / 0.4956 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.3794, allocations: 35.98 kB / 0.4956 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007877/0.3802, allocations: 71.86 kB / 0.4957 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.3804, allocations: 92.77 kB / 0.4957 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-05/0.3805, allocations: 39.98 kB / 0.4958 GB, free: 9.012 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001306/0.3818, allocations: 0.8342 MB / 0.4966 GB, free: 8.172 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3818, allocations: 0 / 0.4966 GB, free: 8.172 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001457/0.3832, allocations: 411.9 kB / 0.497 GB, free: 7.77 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.0003514/0.3836, allocations: 187 kB / 0.4972 GB, free: 7.578 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003459/0.387, allocations: 1.947 MB / 0.4991 GB, free: 5.582 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.387, allocations: 0 / 0.4991 GB, free: 5.582 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002271/0.3893, allocations: 1.354 MB / 0.5004 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.3911, allocations: 385.4 kB / 0.5008 GB, free: 3.805 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006746/0.3978, allocations: 4.032 MB / 0.5047 GB, free: 15.69 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001511/0.3993, allocations: 1.618 MB / 0.5063 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/0.3998, allocations: 111.4 kB / 0.5064 GB, free: 13.93 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3998, allocations: 0 / 0.5064 GB, free: 13.93 MB / 430.1 MB Notification: Performance of Templates: time 0.2712/0.671, allocations: 68.29 MB / 0.5731 GB, free: 80.48 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.739624495152384]