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.001744/0.001744, allocations: 80.67 kB / 20.68 MB, free: 1.035 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.002564/0.002564, allocations: 156.8 kB / 23.94 MB, free: 4.176 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.466/1.466, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.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 1.964e-06/1.964e-06, allocations: 0 / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.571e-05, allocations: 6.281 kB / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.008789/0.008814, allocations: 7.842 MB / 326.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006142/0.01496, allocations: 2.669 MB / 329.5 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.01621, allocations: 57.31 kB / 329.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.01791, allocations: 0.5918 MB / 330.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002555/0.02046, allocations: 0.768 MB / 330.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008676/0.02133, allocations: 339.4 kB / 331.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003278/0.02461, allocations: 2.309 MB / 333.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.02641, allocations: 0.9798 MB / 334.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.02913, allocations: 1.517 MB / 336 MB, free: 8.711 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.03115, allocations: 1.112 MB / 337.1 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003926/0.03154, allocations: 269.2 kB / 337.4 MB, free: 8.051 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007871/0.03233, allocations: 356.7 kB / 337.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000982/0.03331, allocations: 0.7956 MB / 338.5 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.03476, allocations: 0.8268 MB / 339.4 MB, free: 6.926 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004741/0.0395, allocations: 3.577 MB / 342.9 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.03951, allocations: 0 / 342.9 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.03951, allocations: 0 / 342.9 MB, free: 3.605 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.69e-05/0.03958, allocations: 0 / 342.9 MB, free: 3.605 MB / 302.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.00556/0.04514, allocations: 2.447 MB / 345.4 MB, free: 1.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.04518, allocations: 8.922 kB / 345.4 MB, free: 1.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007039/0.04588, allocations: 267.4 kB / 345.6 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.04824, allocations: 1.241 MB / 346.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001865/0.04843, allocations: 135.9 kB / 347 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000297/0.04872, allocations: 180.3 kB / 347.2 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004295/0.05302, allocations: 2.483 MB / 349.7 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-05/0.05308, allocations: 11.83 kB / 349.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001895/0.05327, allocations: 75.98 kB / 349.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001159/0.05338, allocations: 91.5 kB / 349.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/0.05721, allocations: 1.958 MB / 351.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01129/0.0685, allocations: 6.11 MB / 357.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.07041, allocations: 0.9974 MB / 358.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.0721, allocations: 0.807 MB / 359.7 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/0.0723, allocations: 40.97 kB / 359.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.07234, allocations: 43.56 kB / 359.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=87): time 2.785e-06/0.07235, allocations: 0 / 359.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.01454/0.08689, allocations: 5.637 MB / 365.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.08694, allocations: 64.41 kB / 365.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.08861, allocations: 1.083 MB / 366.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.833e-05/0.08871, allocations: 45.7 kB / 366.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007182/0.08943, allocations: 0.898 MB / 367.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/0.08979, allocations: 380.7 kB / 367.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003954/0.09018, allocations: 218.9 kB / 368.1 MB, free: 9.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.09037, allocations: 353.9 kB / 368.5 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.09148, allocations: 0.6155 MB / 369.1 MB, free: 9.008 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.09287, allocations: 0.9225 MB / 370 MB, free: 7.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002663/0.09553, allocations: 1.647 MB / 371.7 MB, free: 6.188 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.09554, allocations: 4 kB / 371.7 MB, free: 6.184 MB / 334.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004155/0.0997, allocations: 2.133 MB / 373.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.09972, allocations: 8 kB / 373.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.09974, allocations: 8 kB / 373.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.101, allocations: 484.1 kB / 374.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.102, allocations: 267.6 kB / 374.5 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007737/0.1098, allocations: 6.583 MB / 381.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.111, allocations: 83.86 kB / 381.2 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.1111, allocations: 48 kB / 381.3 MB, free: 12.25 MB / 350.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.001163/0.1123, allocations: 0.6055 MB / 381.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/0.1125, allocations: 131.2 kB / 382 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003829/0.1164, allocations: 1.932 MB / 383.9 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.1164, allocations: 12 kB / 383.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.1164, allocations: 4 kB / 383.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.1164, allocations: 3.984 kB / 383.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007657/0.1241, allocations: 3.661 MB / 387.6 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.1241, allocations: 4 kB / 387.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008216/0.1249, allocations: 176.2 kB / 387.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001572/0.1265, allocations: 0.5384 MB / 388.3 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.1266, allocations: 31.98 kB / 388.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009621/0.1362, allocations: 8.048 MB / 396.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.1362, allocations: 7.938 kB / 396.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005818/0.142, allocations: 2.843 MB / 399.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008291/0.1428, allocations: 255.1 kB / 399.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000333/0.1432, allocations: 28 kB / 399.5 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009955/0.1442, allocations: 71.92 kB / 399.6 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002971/0.1445, allocations: 96.7 kB / 399.7 MB, free: 9.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-05/0.1446, allocations: 35.98 kB / 399.7 MB, free: 9.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00146/0.146, allocations: 0.7254 MB / 400.4 MB, free: 8.414 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.146, allocations: 0 / 400.4 MB, free: 8.414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001847/0.1479, allocations: 411.9 kB / 400.8 MB, free: 8.012 MB / 366.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.0004916/0.1484, allocations: 198.8 kB / 401 MB, free: 7.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003833/0.1522, allocations: 1.939 MB / 403 MB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.1522, allocations: 1.938 kB / 403 MB, free: 5.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002501/0.1547, allocations: 1.365 MB / 404.3 MB, free: 4.402 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/0.1566, allocations: 325.6 kB / 404.7 MB, free: 4.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007359/0.1639, allocations: 3.768 MB / 408.4 MB, free: 248 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001536/0.1655, allocations: 1.054 MB / 409.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008959/0.1664, allocations: 286.7 kB / 409.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003195/0.1667, allocations: 88.48 kB / 409.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1667, allocations: 0 / 409.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of Templates: time 0.0394/0.2061, allocations: 21.02 MB / 430.9 MB, free: 10.03 MB / 398.1 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/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: 5.314207568764687]