Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.001932/0.001932, allocations: 89.02 kB / 21.44 MB, free: 272 kB / 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.001734/0.001734, allocations: 163.6 kB / 24.71 MB, free: 3.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.314/1.314, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.691e-05, allocations: 2.281 kB / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01062/0.01064, allocations: 7.816 MB / 306.8 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005574/0.01622, allocations: 2.719 MB / 309.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007941/0.01701, allocations: 47.69 kB / 309.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.01858, allocations: 0.5976 MB / 310.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.02064, allocations: 0.7684 MB / 310.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00082/0.02146, allocations: 335.4 kB / 311.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003004/0.02447, allocations: 2.322 MB / 313.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.02592, allocations: 0.9572 MB / 314.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.02805, allocations: 1.505 MB / 316 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.02993, allocations: 1.118 MB / 317.1 MB, free: 6.402 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004301/0.03036, allocations: 268 kB / 317.4 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007015/0.03106, allocations: 355.8 kB / 317.7 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008596/0.03192, allocations: 0.7907 MB / 318.5 MB, free: 5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.03304, allocations: 0.8302 MB / 319.4 MB, free: 4.168 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004089/0.03713, allocations: 3.579 MB / 323 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.03714, allocations: 0 / 323 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.03714, allocations: 7.938 kB / 323 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.671e-05/0.03721, allocations: 0 / 323 MB, free: 0.5703 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.1543/0.1915, allocations: 2.434 MB / 325.4 MB, free: 33.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1916, allocations: 13.2 kB / 325.4 MB, free: 33.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006535/0.1922, allocations: 264.6 kB / 325.7 MB, free: 33.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.1941, allocations: 1.164 MB / 326.8 MB, free: 32.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.786e-05/0.1942, allocations: 131.6 kB / 327 MB, free: 32.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.1944, allocations: 186.7 kB / 327.1 MB, free: 32.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003635/0.1981, allocations: 2.469 MB / 329.6 MB, free: 31.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.798e-05/0.1981, allocations: 2.703 kB / 329.6 MB, free: 31.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.1983, allocations: 76.25 kB / 329.7 MB, free: 31.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.493e-05/0.1984, allocations: 91.94 kB / 329.8 MB, free: 31.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003161/0.2015, allocations: 1.961 MB / 331.7 MB, free: 30.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00912/0.2106, allocations: 6.103 MB / 337.8 MB, free: 27.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.2121, allocations: 0.996 MB / 338.8 MB, free: 26.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.2135, allocations: 0.8106 MB / 339.6 MB, free: 26.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.2137, allocations: 46.25 kB / 339.7 MB, free: 26.47 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.2138, allocations: 48.88 kB / 339.7 MB, free: 26.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.374e-06/0.2138, allocations: 0 / 339.7 MB, free: 26.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=104): time 0.0114/0.2252, allocations: 5.535 MB / 345.3 MB, free: 21.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.2252, allocations: 64.41 kB / 345.3 MB, free: 21.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.2263, allocations: 1.071 MB / 346.4 MB, free: 20.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.787e-05/0.2264, allocations: 41.7 kB / 346.4 MB, free: 20.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.2268, allocations: 0.898 MB / 347.3 MB, free: 19.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.2269, allocations: 376 kB / 347.7 MB, free: 19.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.2272, allocations: 226.9 kB / 347.9 MB, free: 19.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.2273, allocations: 349.9 kB / 348.3 MB, free: 18.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007755/0.228, allocations: 0.6116 MB / 348.9 MB, free: 18.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008646/0.2289, allocations: 0.9197 MB / 349.8 MB, free: 17.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.2307, allocations: 1.647 MB / 351.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.2307, allocations: 0 / 351.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002925/0.2336, allocations: 2.137 MB / 353.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2336, allocations: 8 kB / 353.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.2336, allocations: 15.88 kB / 353.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009311/0.2346, allocations: 480.2 kB / 354.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008812/0.2354, allocations: 267.6 kB / 354.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004656/0.2401, allocations: 6.584 MB / 360.9 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009309/0.241, allocations: 75.92 kB / 361 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.934e-05/0.2411, allocations: 51.98 kB / 361.1 MB, free: 5.535 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0007911/0.2419, allocations: 0.5988 MB / 361.7 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.2421, allocations: 135.1 kB / 361.8 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/0.2448, allocations: 1.915 MB / 363.7 MB, free: 2.852 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.2448, allocations: 17.88 kB / 363.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2448, allocations: 4 kB / 363.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.2448, allocations: 7.969 kB / 363.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005528/0.2504, allocations: 3.658 MB / 367.4 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.2504, allocations: 4 kB / 367.4 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00077/0.2512, allocations: 183.4 kB / 367.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001418/0.2526, allocations: 0.5276 MB / 368.1 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.2527, allocations: 31.98 kB / 368.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008348/0.261, allocations: 8.052 MB / 376.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.261, allocations: 8 kB / 376.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004952/0.266, allocations: 2.85 MB / 379 MB, free: 2.945 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006587/0.2666, allocations: 255.1 kB / 379.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.2668, allocations: 31.98 kB / 379.3 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007517/0.2676, allocations: 71.92 kB / 379.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/0.2678, allocations: 96.7 kB / 379.5 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.566e-05/0.2679, allocations: 35.98 kB / 379.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001101/0.269, allocations: 0.7293 MB / 380.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.269, allocations: 0 / 380.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001373/0.2703, allocations: 411.9 kB / 380.7 MB, free: 1.32 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (89): * Single equations (assignments): 84 * 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.0003478/0.2707, allocations: 186.9 kB / 380.8 MB, free: 1.125 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003295/0.274, allocations: 1.95 MB / 382.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.274, allocations: 0 / 382.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.2762, allocations: 1.353 MB / 384.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.2777, allocations: 326.8 kB / 384.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00569/0.2834, allocations: 3.786 MB / 388.2 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.2845, allocations: 1.058 MB / 389.3 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007048/0.2852, allocations: 282.7 kB / 389.6 MB, free: 8.164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/0.2855, allocations: 92.48 kB / 389.7 MB, free: 8.07 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2855, allocations: 0 / 389.7 MB, free: 8.07 MB / 334.1 MB Notification: Performance of Templates: time 0.0377/0.3232, allocations: 21.01 MB / 410.7 MB, free: 3.043 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Inverter/AIMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.044652584940195]