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.0008742/0.0008742, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 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.0008818/0.0008818, allocations: 163.9 kB / 25.7 MB, free: 8.434 MB / 18.57 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 0.8177/0.8177, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.453e-06/1.453e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.293e-05/1.439e-05, allocations: 2.312 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01248/0.0125, allocations: 8.568 MB / 260.1 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004168/0.01666, allocations: 2.913 MB / 263 MB, free: 11.71 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004279/0.01709, allocations: 47.69 kB / 263.1 MB, free: 11.67 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009097/0.018, allocations: 0.6057 MB / 263.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.01916, allocations: 0.7723 MB / 264.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.0196, allocations: 347.3 kB / 264.8 MB, free: 9.941 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001598/0.0212, allocations: 2.314 MB / 267.1 MB, free: 7.617 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008383/0.02204, allocations: 0.9885 MB / 268.1 MB, free: 6.566 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/0.02367, allocations: 1.661 MB / 269.7 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009168/0.02458, allocations: 1.15 MB / 270.9 MB, free: 3.75 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.02478, allocations: 260 kB / 271.2 MB, free: 3.496 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.02514, allocations: 347.8 kB / 271.5 MB, free: 3.156 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004264/0.02556, allocations: 0.7596 MB / 272.3 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005353/0.0261, allocations: 0.8263 MB / 273.1 MB, free: 1.566 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.02739, allocations: 1.912 MB / 275 MB, free: 15.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.0274, allocations: 0 / 275 MB, free: 15.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.0274, allocations: 0 / 275 MB, free: 15.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.02741, allocations: 0 / 275 MB, free: 15.65 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.00219/0.0296, allocations: 2.265 MB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.02963, allocations: 11.98 kB / 277.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004521/0.03008, allocations: 328.7 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008921/0.03097, allocations: 0.8248 MB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.349e-05/0.03106, allocations: 135.9 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.03123, allocations: 188.3 kB / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.03253, allocations: 1.387 MB / 280.1 MB, free: 10.39 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.689e-05/0.03256, allocations: 19.8 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/0.03267, allocations: 72 kB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.896e-05/0.03274, allocations: 95.5 kB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007919/0.03353, allocations: 0.519 MB / 280.8 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004568/0.0381, allocations: 4.585 MB / 285.4 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006057/0.0387, allocations: 0.5365 MB / 285.9 MB, free: 4.367 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004872/0.03919, allocations: 402.5 kB / 286.3 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001223/0.03931, allocations: 48.95 kB / 286.4 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.03934, allocations: 51.48 kB / 286.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.264e-06/0.03934, allocations: 0 / 286.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.003846/0.04318, allocations: 2.406 MB / 288.8 MB, free: 1.414 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.04321, allocations: 64.41 kB / 288.9 MB, free: 1.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.04375, allocations: 0.7953 MB / 289.7 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.999e-05/0.0438, allocations: 45.7 kB / 289.7 MB, free: 488 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004294/0.04423, allocations: 0.7516 MB / 290.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.0444, allocations: 384.6 kB / 290.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.0446, allocations: 206.8 kB / 291.1 MB, free: 15.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.598e-05/0.04469, allocations: 357.8 kB / 291.4 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.04488, allocations: 145.4 kB / 291.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.04518, allocations: 453.6 kB / 292 MB, free: 14.05 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005924/0.04577, allocations: 0.7312 MB / 292.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.04577, allocations: 4 kB / 292.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001021/0.0468, allocations: 0.8884 MB / 293.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.04681, allocations: 12 kB / 293.6 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.04682, allocations: 12 kB / 293.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004798/0.0473, allocations: 255.3 kB / 293.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.04774, allocations: 231.6 kB / 294.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/0.05036, allocations: 4.667 MB / 298.8 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.05067, allocations: 47.97 kB / 298.8 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.05072, allocations: 39.98 kB / 298.9 MB, free: 6.723 MB / 282.7 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.0002433/0.05097, allocations: 188.3 kB / 299.1 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/0.05111, allocations: 107.9 kB / 299.2 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009761/0.05208, allocations: 0.8006 MB / 300 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.05209, allocations: 12 kB / 300 MB, free: 5.582 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.0521, allocations: 7.984 kB / 300 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.0521, allocations: 3.984 kB / 300 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.05444, allocations: 2.24 MB / 302.2 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.05445, allocations: 4 kB / 302.2 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003347/0.05478, allocations: 151.8 kB / 302.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005974/0.05538, allocations: 330.7 kB / 302.7 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.05543, allocations: 31.98 kB / 302.7 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003127/0.05856, allocations: 5.881 MB / 308.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.05856, allocations: 4 kB / 308.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.05981, allocations: 1.214 MB / 309.8 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.06005, allocations: 175.1 kB / 310 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.533e-05/0.06014, allocations: 31.98 kB / 310 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.06043, allocations: 39.98 kB / 310.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.06055, allocations: 100.7 kB / 310.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.06059, allocations: 27.98 kB / 310.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003024/0.06089, allocations: 393.1 kB / 310.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06089, allocations: 0 / 310.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008013/0.06169, allocations: 403.9 kB / 311 MB, free: 9.973 MB / 298.7 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%), (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.0002571/0.06195, allocations: 172 kB / 311.2 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.06311, allocations: 1.075 MB / 312.2 MB, free: 8.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.444e-05/0.06312, allocations: 16.44 kB / 312.2 MB, free: 8.664 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007082/0.06383, allocations: 0.9003 MB / 313.1 MB, free: 7.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007592/0.06459, allocations: 346.2 kB / 313.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.06776, allocations: 3.14 MB / 316.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.0681, allocations: 439.5 kB / 317 MB, free: 3.668 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003326/0.06843, allocations: 162.8 kB / 317.2 MB, free: 3.504 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/0.06891, allocations: 333.1 kB / 317.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.06891, allocations: 0 / 317.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of Templates: time 0.02409/0.093, allocations: 21.83 MB / 339.4 MB, free: 13.34 MB / 330.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) [Timeout 240] 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","",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.1781293526291847]