Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.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.0008666/0.0008666, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001882, 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.0006888/0.0006888, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008187/0.001508, 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.93/0.93, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1562/1.086, allocations: 49.49 MB / 220.5 MB, free: 1.449 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_DOL,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.263e-05, allocations: 6.25 kB / 221.8 MB, free: 160 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.008316/0.008338, allocations: 9.18 MB / 231 MB, free: 6.926 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005112/0.01345, allocations: 3.092 MB / 234.1 MB, free: 3.82 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000752/0.0142, allocations: 55.62 kB / 234.2 MB, free: 3.766 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.01526, allocations: 0.6403 MB / 234.8 MB, free: 3.121 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.01657, allocations: 0.8421 MB / 235.7 MB, free: 2.273 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004421/0.01701, allocations: 363.3 kB / 236 MB, free: 1.918 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002208/0.01922, allocations: 2.8 MB / 238.8 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009217/0.02014, allocations: 1.104 MB / 239.9 MB, free: 13.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.02213, allocations: 2.109 MB / 242 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.02335, allocations: 1.356 MB / 243.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002853/0.02363, allocations: 304 kB / 243.7 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005068/0.02414, allocations: 395.7 kB / 244.1 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004908/0.02463, allocations: 0.7325 MB / 244.8 MB, free: 9.016 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009843/0.02561, allocations: 0.7915 MB / 245.6 MB, free: 8.223 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.02734, allocations: 2.11 MB / 247.7 MB, free: 6.105 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.94e-05/0.02736, allocations: 0 / 247.7 MB, free: 6.105 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.02737, allocations: 4 kB / 247.7 MB, free: 6.102 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.663e-05/0.0274, allocations: 0 / 247.7 MB, free: 6.102 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.00303/0.03043, allocations: 3.113 MB / 250.8 MB, free: 2.945 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.03047, allocations: 12.03 kB / 250.8 MB, free: 2.934 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006307/0.03111, allocations: 461.7 kB / 251.3 MB, free: 2.465 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.03224, allocations: 0.9371 MB / 252.2 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002844/0.03252, allocations: 164.4 kB / 252.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.0327, allocations: 196.4 kB / 252.6 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/0.03428, allocations: 1.577 MB / 254.1 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.528e-05/0.03433, allocations: 11.83 kB / 254.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.03445, allocations: 91.97 kB / 254.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.437e-05/0.03452, allocations: 87.94 kB / 254.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008438/0.03537, allocations: 0.6021 MB / 254.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0053/0.04067, allocations: 5.425 MB / 260.4 MB, free: 9.004 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.04131, allocations: 0.6646 MB / 261 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005759/0.04189, allocations: 475.5 kB / 261.5 MB, free: 7.852 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.04201, allocations: 44.98 kB / 261.5 MB, free: 7.809 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.04203, allocations: 51.5 kB / 261.6 MB, free: 7.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 1.943e-06/0.04204, allocations: 0 / 261.6 MB, free: 7.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.003965/0.046, allocations: 2.531 MB / 264.1 MB, free: 5.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.04603, allocations: 64.41 kB / 264.2 MB, free: 5.102 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006866/0.04672, allocations: 0.983 MB / 265.2 MB, free: 4.098 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.04678, allocations: 49.7 kB / 265.2 MB, free: 4.043 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.04711, allocations: 0.8271 MB / 266 MB, free: 3.203 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.0473, allocations: 428.2 kB / 266.5 MB, free: 2.781 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003957/0.0477, allocations: 243.4 kB / 266.7 MB, free: 2.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.0478, allocations: 365.8 kB / 267 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.04802, allocations: 162.8 kB / 267.2 MB, free: 2.012 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.04837, allocations: 477.1 kB / 267.7 MB, free: 1.418 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006697/0.04904, allocations: 0.7946 MB / 268.5 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.04904, allocations: 4 kB / 268.5 MB, free: 500 kB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00109/0.05013, allocations: 0.921 MB / 269.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.05015, allocations: 8 kB / 269.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.05017, allocations: 11.94 kB / 269.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004573/0.05062, allocations: 208.1 kB / 269.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007536/0.05138, allocations: 351.5 kB / 270 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.05341, allocations: 3.153 MB / 273.1 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.05377, allocations: 51.94 kB / 273.2 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.05383, allocations: 47.98 kB / 273.2 MB, free: 11.53 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: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003138/0.05414, allocations: 196.2 kB / 273.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/0.05453, allocations: 127.9 kB / 273.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.05555, allocations: 0.8186 MB / 274.3 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.05556, allocations: 12 kB / 274.4 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.05556, allocations: 8 kB / 274.4 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.05557, allocations: 11.95 kB / 274.4 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.05789, allocations: 2.08 MB / 276.5 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.05789, allocations: 4 kB / 276.5 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006023/0.05849, allocations: 284 kB / 276.7 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.05878, allocations: 210.9 kB / 276.9 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004948/0.05927, allocations: 251.5 kB / 277.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-05/0.05932, allocations: 27.98 kB / 277.2 MB, free: 7.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002699/0.06202, allocations: 4.379 MB / 281.6 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.06202, allocations: 4 kB / 281.6 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.06325, allocations: 1.202 MB / 282.8 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.06336, allocations: 27.98 kB / 282.8 MB, free: 1.406 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.06367, allocations: 43.98 kB / 282.9 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.0638, allocations: 100.7 kB / 283 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/0.06384, allocations: 27.98 kB / 283 MB, free: 1.234 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000362/0.0642, allocations: 485 kB / 283.5 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0642, allocations: 0 / 283.5 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008023/0.06501, allocations: 463.9 kB / 283.9 MB, free: 308 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,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.0002617/0.06527, allocations: 156.1 kB / 284.1 MB, free: 140 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.1021/0.1673, allocations: 0.9722 MB / 285 MB, free: 49.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.839e-05/0.1674, allocations: 27.02 kB / 285.1 MB, free: 49.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009406/0.1683, allocations: 0.7967 MB / 285.9 MB, free: 48.96 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.1696, allocations: 0.4967 MB / 286.4 MB, free: 48.94 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/0.1834, allocations: 3.699 MB / 290.1 MB, free: 47.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.184, allocations: 0.5054 MB / 290.6 MB, free: 47.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005459/0.1845, allocations: 193.3 kB / 290.8 MB, free: 47.26 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006885/0.1852, allocations: 396.5 kB / 291.1 MB, free: 47.21 MB / 282.7 MB Notification: Performance of SimCode: time 1.593e-06/0.1852, allocations: 3.906 kB / 291.2 MB, free: 47.21 MB / 282.7 MB Notification: Performance of Templates: time 0.02867/0.2139, allocations: 26.37 MB / 317.5 MB, free: 29.32 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_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_DOL/AIMC_DOL.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.4480586582794785]