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.0007583/0.0007583, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001337/0.002096, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006998/0.0006998, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009311/0.001631, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8993/0.8993, allocations: 158.6 MB / 171.1 MB, free: 2.57 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.159/1.058, allocations: 49.48 MB / 220.5 MB, free: 1.453 MB / 218.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.353e-06/1.353e-06, allocations: 0 / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.486e-05, allocations: 6.25 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.006889/0.006904, allocations: 8.651 MB / 230.5 MB, free: 7.457 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004201/0.0111, allocations: 2.937 MB / 233.4 MB, free: 4.508 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005557/0.01166, allocations: 51.62 kB / 233.5 MB, free: 4.457 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009206/0.01258, allocations: 0.6093 MB / 234.1 MB, free: 3.844 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.01379, allocations: 0.7683 MB / 234.9 MB, free: 3.07 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.01426, allocations: 331.5 kB / 235.2 MB, free: 2.746 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001843/0.0161, allocations: 2.343 MB / 237.5 MB, free: 408 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009549/0.01706, allocations: 0.9924 MB / 238.5 MB, free: 15.35 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.01922, allocations: 1.806 MB / 240.3 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.02052, allocations: 1.153 MB / 241.5 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002971/0.02082, allocations: 260 kB / 241.7 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004458/0.02127, allocations: 343.9 kB / 242.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004082/0.02167, allocations: 0.6312 MB / 242.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.02268, allocations: 0.6785 MB / 243.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.02401, allocations: 1.783 MB / 245.2 MB, free: 8.676 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.02402, allocations: 0 / 245.2 MB, free: 8.676 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.02402, allocations: 3.938 kB / 245.2 MB, free: 8.672 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.446e-05/0.02405, allocations: 0 / 245.2 MB, free: 8.672 MB / 250.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.002407/0.02645, allocations: 2.702 MB / 247.9 MB, free: 5.934 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.02648, allocations: 12.03 kB / 247.9 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004871/0.02697, allocations: 405.7 kB / 248.3 MB, free: 5.508 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008785/0.02785, allocations: 0.821 MB / 249.1 MB, free: 4.652 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.716e-05/0.02792, allocations: 135.9 kB / 249.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.02809, allocations: 188.3 kB / 249.4 MB, free: 4.336 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/0.02964, allocations: 1.391 MB / 250.8 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.02968, allocations: 7.891 kB / 250.8 MB, free: 2.875 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.334e-05/0.02977, allocations: 72 kB / 250.9 MB, free: 2.805 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.204e-05/0.02983, allocations: 91.5 kB / 251 MB, free: 2.715 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006836/0.03052, allocations: 0.5307 MB / 251.5 MB, free: 2.176 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00422/0.03473, allocations: 4.605 MB / 256.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.03531, allocations: 0.5538 MB / 256.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.03578, allocations: 398.6 kB / 257.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.052e-05/0.03587, allocations: 40.97 kB / 257.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/0.0362, allocations: 43.56 kB / 257.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 1.573e-06/0.0362, allocations: 0 / 257.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.003569/0.03977, allocations: 2.429 MB / 259.6 MB, free: 9.875 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.0398, allocations: 64.41 kB / 259.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005376/0.04033, allocations: 0.7992 MB / 260.4 MB, free: 8.984 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.861e-05/0.04038, allocations: 45.69 kB / 260.5 MB, free: 8.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.04073, allocations: 0.7514 MB / 261.2 MB, free: 8.172 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003815/0.04111, allocations: 380.7 kB / 261.6 MB, free: 7.797 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003042/0.04141, allocations: 214.7 kB / 261.8 MB, free: 7.582 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.04152, allocations: 361.8 kB / 262.2 MB, free: 7.223 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.04178, allocations: 141.4 kB / 262.3 MB, free: 7.082 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.0422, allocations: 449.9 kB / 262.7 MB, free: 6.512 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007381/0.04293, allocations: 0.7273 MB / 263.5 MB, free: 5.656 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.04294, allocations: 7.938 kB / 263.5 MB, free: 5.648 MB / 266.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001476/0.04442, allocations: 0.9 MB / 264.4 MB, free: 4.719 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.04445, allocations: 11.98 kB / 264.4 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.04447, allocations: 8 kB / 264.4 MB, free: 4.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005821/0.04505, allocations: 251.6 kB / 264.6 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/0.0456, allocations: 271.6 kB / 264.9 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003508/0.04911, allocations: 4.67 MB / 269.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.04975, allocations: 43.94 kB / 269.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.04982, allocations: 40 kB / 269.6 MB, free: 15.14 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.0004146/0.05023, allocations: 196.2 kB / 269.8 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.05044, allocations: 111.9 kB / 270 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.05144, allocations: 0.789 MB / 270.7 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.05145, allocations: 12 kB / 270.8 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.05145, allocations: 4 kB / 270.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.05146, allocations: 7.922 kB / 270.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/0.05418, allocations: 2.245 MB / 273 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.05418, allocations: 8 kB / 273 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/0.05458, allocations: 175.7 kB / 273.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/0.05489, allocations: 175.1 kB / 273.4 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006596/0.05555, allocations: 333.3 kB / 273.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/0.0556, allocations: 31.92 kB / 273.7 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003634/0.05923, allocations: 5.873 MB / 279.6 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.046e-06/0.05924, allocations: 7.938 kB / 279.6 MB, free: 4.648 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.06077, allocations: 1.21 MB / 280.8 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.06094, allocations: 31.98 kB / 280.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.06128, allocations: 43.98 kB / 280.9 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.06142, allocations: 96.7 kB / 281 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.06146, allocations: 31.98 kB / 281 MB, free: 3.145 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004213/0.06188, allocations: 401 kB / 281.4 MB, free: 2.742 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.06188, allocations: 3.938 kB / 281.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001108/0.06299, allocations: 403.9 kB / 281.8 MB, free: 2.344 MB / 282.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.0003051/0.06329, allocations: 164.1 kB / 282 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.06482, allocations: 1.08 MB / 283 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.788e-05/0.06487, allocations: 27.11 kB / 283.1 MB, free: 1.023 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008496/0.06571, allocations: 0.9064 MB / 284 MB, free: 60 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1063/0.172, allocations: 419.1 kB / 284.4 MB, free: 48.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/0.1878, allocations: 3.266 MB / 287.6 MB, free: 47.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/0.1886, allocations: 444.8 kB / 288.1 MB, free: 47.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007396/0.1893, allocations: 168 kB / 288.2 MB, free: 47.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006521/0.19, allocations: 336 kB / 288.6 MB, free: 47.2 MB / 282.7 MB Notification: Performance of SimCode: time 1.754e-06/0.19, allocations: 0 / 288.6 MB, free: 47.2 MB / 282.7 MB Notification: Performance of Templates: time 0.02894/0.2189, allocations: 22.7 MB / 311.3 MB, free: 34.4 MB / 282.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 -ignoreHideResult -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.2773439614102244]