Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009879/0.0009879, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009691/0.0009691, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9779/0.9779, allocations: 177 MB / 205.2 MB, free: 4.996 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 273.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/2.084e-05, allocations: 6.25 kB / 273.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.007448/0.007469, allocations: 8.683 MB / 282.1 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004958/0.01243, allocations: 2.932 MB / 285.1 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007776/0.0132, allocations: 55.62 kB / 285.1 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.01441, allocations: 0.6053 MB / 285.7 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.01625, allocations: 0.78 MB / 286.5 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005857/0.01684, allocations: 335.4 kB / 286.8 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.01872, allocations: 2.314 MB / 289.1 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009982/0.01972, allocations: 1.02 MB / 290.2 MB, free: 136 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.15/0.1698, allocations: 1.669 MB / 291.8 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.1717, allocations: 1.146 MB / 293 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006252/0.1723, allocations: 260.8 kB / 293.2 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009013/0.1732, allocations: 357.8 kB / 293.6 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009376/0.1742, allocations: 0.7634 MB / 294.3 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00168/0.1759, allocations: 0.8277 MB / 295.2 MB, free: 16.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.1787, allocations: 1.921 MB / 297.1 MB, free: 16.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1787, allocations: 0 / 297.1 MB, free: 16.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1787, allocations: 1.906 kB / 297.1 MB, free: 16.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.736e-05/0.1788, allocations: 2.094 kB / 297.1 MB, free: 16.4 MB / 266.7 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.003826/0.1826, allocations: 2.28 MB / 299.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1826, allocations: 12.92 kB / 299.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007509/0.1834, allocations: 338.9 kB / 299.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.1847, allocations: 0.9008 MB / 300.6 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.1848, allocations: 133.7 kB / 300.7 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.185, allocations: 183.7 kB / 300.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.1868, allocations: 1.391 MB / 302.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.446e-05/0.1868, allocations: 8.875 kB / 302.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.1869, allocations: 76.44 kB / 302.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.187, allocations: 92.08 kB / 302.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009488/0.188, allocations: 0.5283 MB / 303 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004525/0.1925, allocations: 4.597 MB / 307.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005471/0.193, allocations: 0.5384 MB / 308.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004724/0.1935, allocations: 395.6 kB / 308.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.1936, allocations: 42.2 kB / 308.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1937, allocations: 41.75 kB / 308.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.244e-06/0.1937, allocations: 0 / 308.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.003991/0.1976, allocations: 2.536 MB / 311.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.1977, allocations: 64.41 kB / 311.2 MB, free: 10.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005096/0.1982, allocations: 0.8105 MB / 312 MB, free: 9.594 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.1982, allocations: 41.7 kB / 312.1 MB, free: 9.547 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.1985, allocations: 0.7541 MB / 312.8 MB, free: 8.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.1986, allocations: 375.9 kB / 313.2 MB, free: 8.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.1988, allocations: 213.3 kB / 313.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.354e-05/0.1989, allocations: 356.1 kB / 313.7 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.1991, allocations: 145.4 kB / 313.9 MB, free: 7.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.1993, allocations: 450.2 kB / 314.3 MB, free: 7.293 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005409/0.1999, allocations: 0.7198 MB / 315 MB, free: 6.516 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.1999, allocations: 4 kB / 315.1 MB, free: 6.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001021/0.2009, allocations: 0.8941 MB / 315.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2009, allocations: 8 kB / 316 MB, free: 5.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.2009, allocations: 8 kB / 316 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005011/0.2014, allocations: 254.6 kB / 316.2 MB, free: 5.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.2019, allocations: 253.5 kB / 316.5 MB, free: 5.152 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.2041, allocations: 4.675 MB / 321.1 MB, free: 296 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000339/0.2044, allocations: 47.94 kB / 321.2 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.2045, allocations: 36 kB / 321.2 MB, free: 212 kB / 266.7 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.0002949/0.2048, allocations: 180.7 kB / 321.4 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.2049, allocations: 113.5 kB / 321.5 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.206, allocations: 0.8066 MB / 322.3 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.206, allocations: 12 kB / 322.3 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.206, allocations: 4 kB / 322.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.206, allocations: 7.969 kB / 322.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/0.2088, allocations: 2.241 MB / 324.6 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2088, allocations: 4 kB / 324.6 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004026/0.2092, allocations: 166.5 kB / 324.7 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007066/0.2099, allocations: 336.4 kB / 325.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-05/0.2099, allocations: 27.98 kB / 325.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003776/0.2137, allocations: 5.878 MB / 331 MB, free: 6.355 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2137, allocations: 4 kB / 331 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.2152, allocations: 1.208 MB / 332.2 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.2154, allocations: 175.1 kB / 332.4 MB, free: 4.926 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.101e-05/0.2155, allocations: 27.98 kB / 332.4 MB, free: 4.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.2158, allocations: 43.98 kB / 332.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.2159, allocations: 96.23 kB / 332.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.216, allocations: 23.98 kB / 332.5 MB, free: 4.742 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003336/0.2163, allocations: 411.4 kB / 332.9 MB, free: 4.379 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2163, allocations: 0 / 332.9 MB, free: 4.379 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001082/0.2174, allocations: 400 kB / 333.3 MB, free: 3.988 MB / 282.7 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003518/0.2178, allocations: 166.6 kB / 333.5 MB, free: 3.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.219, allocations: 1.07 MB / 334.6 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.899e-05/0.219, allocations: 16.5 kB / 334.6 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008084/0.2198, allocations: 0.8942 MB / 335.5 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008427/0.2207, allocations: 335.6 kB / 335.8 MB, free: 1.531 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/0.225, allocations: 3.14 MB / 338.9 MB, free: 14.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/0.2254, allocations: 443.5 kB / 339.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000411/0.2258, allocations: 158.8 kB / 339.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005303/0.2263, allocations: 333 kB / 339.9 MB, free: 13.4 MB / 298.7 MB Notification: Performance of SimCode: time 1.503e-06/0.2263, allocations: 4 kB / 339.9 MB, free: 13.39 MB / 298.7 MB Notification: Performance of Templates: time 0.02829/0.2546, allocations: 21.98 MB / 361.8 MB, free: 7.855 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3133445787243545]