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.00168/0.00168, allocations: 103.6 kB / 21.19 MB, free: 0.6406 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.002002/0.002002, allocations: 219.5 kB / 24.48 MB, free: 3.934 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.547/1.547, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.001607/0.001607, allocations: 47.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2677, allocations: 53.37 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01075/0.2784, allocations: 7.886 MB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005796/0.2842, allocations: 2.723 MB / 443 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.2855, allocations: 59.62 kB / 443 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.2872, allocations: 0.5897 MB / 443.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.2896, allocations: 0.7496 MB / 444.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008695/0.2905, allocations: 335.5 kB / 444.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002911/0.2934, allocations: 2.229 MB / 446.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.2949, allocations: 1.024 MB / 447.9 MB, free: 7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001544/0.2964, allocations: 1.059 MB / 449 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.2985, allocations: 1.327 MB / 450.3 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004421/0.299, allocations: 272 kB / 450.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007217/0.2997, allocations: 355.8 kB / 450.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008417/0.3005, allocations: 0.7674 MB / 451.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.3019, allocations: 0.9841 MB / 452.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004075/0.306, allocations: 3.566 MB / 456.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.306, allocations: 0 / 456.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.306, allocations: 0 / 456.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.053e-05/0.3061, allocations: 0 / 456.2 MB, free: 14.66 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.005346/0.3114, allocations: 2.482 MB / 458.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3114, allocations: 12.03 kB / 458.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007349/0.3122, allocations: 259.4 kB / 459 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002682/0.3149, allocations: 1.246 MB / 460.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.315, allocations: 139.9 kB / 460.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003188/0.3153, allocations: 179.9 kB / 460.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00437/0.3197, allocations: 2.471 MB / 463 MB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.803e-05/0.3197, allocations: 15.89 kB / 463 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.3199, allocations: 75.98 kB / 463.1 MB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001103/0.32, allocations: 91.5 kB / 463.2 MB, free: 7.555 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003607/0.3236, allocations: 1.958 MB / 465.2 MB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/0.3352, allocations: 6.111 MB / 471.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.337, allocations: 0.9931 MB / 472.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.3386, allocations: 0.796 MB / 473.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.3388, allocations: 40.97 kB / 473.1 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.3389, allocations: 47.5 kB / 473.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.765e-06/0.3389, allocations: 0 / 473.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01465/0.3535, allocations: 5.657 MB / 478.8 MB, free: 7.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.3536, allocations: 60.41 kB / 478.9 MB, free: 7.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.3553, allocations: 1.079 MB / 479.9 MB, free: 6.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.3554, allocations: 45.69 kB / 480 MB, free: 6.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007165/0.3561, allocations: 0.8942 MB / 480.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004116/0.3565, allocations: 388.7 kB / 481.3 MB, free: 5.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003817/0.3569, allocations: 218.9 kB / 481.5 MB, free: 4.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.3571, allocations: 353.9 kB / 481.8 MB, free: 4.629 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.3582, allocations: 0.6194 MB / 482.4 MB, free: 4.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.3596, allocations: 0.9227 MB / 483.4 MB, free: 2.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/0.3622, allocations: 1.639 MB / 485 MB, free: 1.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3622, allocations: 4 kB / 485 MB, free: 1.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004143/0.3663, allocations: 2.141 MB / 487.1 MB, free: 15.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.3664, allocations: 11.94 kB / 487.2 MB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/0.3664, allocations: 12 kB / 487.2 MB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.3676, allocations: 472.1 kB / 487.6 MB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/0.3688, allocations: 271.6 kB / 487.9 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007379/0.3762, allocations: 6.596 MB / 494.5 MB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.3774, allocations: 83.86 kB / 494.6 MB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.3775, allocations: 47.98 kB / 494.6 MB, free: 7.238 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.001104/0.3786, allocations: 0.5989 MB / 495.2 MB, free: 6.629 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/0.3789, allocations: 131.2 kB / 495.3 MB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00372/0.3826, allocations: 1.944 MB / 497.3 MB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.3826, allocations: 11.94 kB / 497.3 MB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.3826, allocations: 8 kB / 497.3 MB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.3827, allocations: 3.984 kB / 497.3 MB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007498/0.3902, allocations: 3.661 MB / 0.4892 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.639e-06/0.3902, allocations: 4 kB / 0.4892 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008048/0.391, allocations: 179.7 kB / 0.4894 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001451/0.3924, allocations: 0.5236 MB / 0.4899 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-05/0.3925, allocations: 27.98 kB / 0.4899 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008798/0.4013, allocations: 8.075 MB / 0.4978 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.4013, allocations: 4 kB / 0.4978 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005053/0.4064, allocations: 2.847 MB / 0.5006 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009104/0.4073, allocations: 262.9 kB / 0.5009 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/0.4075, allocations: 31.98 kB / 0.5009 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000793/0.4083, allocations: 75.92 kB / 0.501 GB, free: 4.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/0.4085, allocations: 96.7 kB / 0.5011 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/0.4086, allocations: 35.98 kB / 0.5011 GB, free: 4.102 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001118/0.4097, allocations: 0.7293 MB / 0.5018 GB, free: 3.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4097, allocations: 0 / 0.5018 GB, free: 3.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001469/0.4112, allocations: 404 kB / 0.5022 GB, free: 2.973 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.0003987/0.4116, allocations: 187.4 kB / 0.5024 GB, free: 2.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003562/0.4152, allocations: 1.947 MB / 0.5043 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.4152, allocations: 4 kB / 0.5043 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.4175, allocations: 1.354 MB / 0.5056 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.4193, allocations: 327.4 kB / 0.5059 GB, free: 15.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006677/0.426, allocations: 4.004 MB / 0.5098 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.4272, allocations: 1.042 MB / 0.5108 GB, free: 9.891 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004454/0.4277, allocations: 103.4 kB / 0.5109 GB, free: 9.789 MB / 430.1 MB Notification: Performance of SimCode: time 1.573e-06/0.4277, allocations: 0 / 0.5109 GB, free: 9.789 MB / 430.1 MB Notification: Performance of Templates: time 0.269/0.6967, allocations: 68.05 MB / 0.5774 GB, free: 69.99 MB / 446.1 MB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/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: 12.32507978301146]