Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002434/0.002434, allocations: 121.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002292/0.002292, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.992/1.992, allocations: 207.6 MB / 231.8 MB, free: 4.121 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 52.2 kB / 342.8 MB, free: 9.555 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1288, allocations: 49.12 MB / 391.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.014/0.1428, allocations: 9.804 MB / 401.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008401/0.1512, allocations: 3.155 MB / 404.8 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.1532, allocations: 43.81 kB / 404.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.1553, allocations: 0.7105 MB / 405.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.1586, allocations: 0.8544 MB / 406.5 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009761/0.1596, allocations: 403.4 kB / 406.8 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004182/0.1638, allocations: 3.094 MB / 409.9 MB, free: 6.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00239/0.1662, allocations: 1.706 MB / 411.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002292/0.1685, allocations: 1.386 MB / 413 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002811/0.1713, allocations: 1.724 MB / 414.8 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006277/0.1719, allocations: 364 kB / 415.1 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.173, allocations: 459.8 kB / 415.6 MB, free: 456 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.1741, allocations: 1.009 MB / 416.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002493/0.1766, allocations: 1.606 MB / 418.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005983/0.1826, allocations: 4.718 MB / 422.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.1826, allocations: 3.984 kB / 422.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1826, allocations: 4 kB / 422.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.588e-05/0.1827, allocations: 0 / 422.9 MB, free: 9.078 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.008243/0.1909, allocations: 3.292 MB / 426.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.191, allocations: 8.031 kB / 426.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009819/0.192, allocations: 335 kB / 426.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003025/0.195, allocations: 1.652 MB / 428.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.1952, allocations: 172.7 kB / 428.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003809/0.1955, allocations: 231.9 kB / 428.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006036/0.2016, allocations: 3.188 MB / 431.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.81e-05/0.2016, allocations: 7.953 kB / 431.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002308/0.2019, allocations: 92 kB / 431.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/0.202, allocations: 108.4 kB / 432 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005166/0.2072, allocations: 2.734 MB / 434.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01778/0.225, allocations: 9.796 MB / 444.5 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002841/0.2278, allocations: 1.998 MB / 446.5 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/0.2298, allocations: 1.12 MB / 447.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/0.2301, allocations: 138 kB / 447.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.874e-05/0.2301, allocations: 43.56 kB / 447.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=126): time 2.926e-06/0.2301, allocations: 0 / 447.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=142): time 0.01928/0.2494, allocations: 8.013 MB / 455.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/0.2495, allocations: 72.66 kB / 455.9 MB, free: 7.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002768/0.2522, allocations: 1.68 MB / 457.6 MB, free: 5.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.2524, allocations: 45.7 kB / 457.6 MB, free: 5.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009993/0.2534, allocations: 1.112 MB / 458.7 MB, free: 4.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005225/0.2539, allocations: 0.4997 MB / 459.2 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005346/0.2544, allocations: 295.5 kB / 459.5 MB, free: 3.645 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.2546, allocations: 309.1 kB / 459.8 MB, free: 3.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.2561, allocations: 0.9057 MB / 460.7 MB, free: 2.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.258, allocations: 1.267 MB / 462 MB, free: 1.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3227/0.5807, allocations: 2.243 MB / 464.2 MB, free: 61.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-05/0.5807, allocations: 6.719 kB / 464.2 MB, free: 61.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006676/0.5874, allocations: 3.031 MB / 467.3 MB, free: 61.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.862e-05/0.5874, allocations: 10.41 kB / 467.3 MB, free: 61.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.631e-05/0.5875, allocations: 12.75 kB / 467.3 MB, free: 61.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002793/0.5902, allocations: 0.8474 MB / 468.1 MB, free: 61.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001656/0.5919, allocations: 304.9 kB / 468.4 MB, free: 61.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/0.6062, allocations: 9.92 MB / 478.3 MB, free: 54.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/0.6085, allocations: 95.06 kB / 478.4 MB, free: 54.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/0.6087, allocations: 61 kB / 478.5 MB, free: 54.39 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,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 (155): * Single equations (assignments): 150 * 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%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002081/0.6108, allocations: 0.8256 MB / 479.3 MB, free: 53.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006353/0.6114, allocations: 194.3 kB / 479.5 MB, free: 53.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004732/0.6161, allocations: 2.814 MB / 482.3 MB, free: 52.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.6162, allocations: 13.75 kB / 482.3 MB, free: 52.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.6162, allocations: 6.875 kB / 482.3 MB, free: 52.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.6162, allocations: 12.08 kB / 482.4 MB, free: 52.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009639/0.6258, allocations: 5.653 MB / 488 MB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.6258, allocations: 0 / 488 MB, free: 49.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008181/0.6267, allocations: 201.3 kB / 488.2 MB, free: 49.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002114/0.6288, allocations: 0.8895 MB / 489.1 MB, free: 49.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.6289, allocations: 34.73 kB / 489.1 MB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.6393, allocations: 11.55 MB / 0.4889 GB, free: 37.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6393, allocations: 0 / 0.4889 GB, free: 37.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005902/0.6452, allocations: 4.128 MB / 0.493 GB, free: 33.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.6464, allocations: 477.3 kB / 0.4934 GB, free: 33.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/0.6466, allocations: 36 kB / 0.4935 GB, free: 33.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009424/0.6476, allocations: 79.91 kB / 0.4935 GB, free: 33.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004732/0.6481, allocations: 145 kB / 0.4937 GB, free: 32.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.965e-05/0.6481, allocations: 43.98 kB / 0.4937 GB, free: 32.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001531/0.6497, allocations: 1.155 MB / 0.4948 GB, free: 31.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6497, allocations: 0 / 0.4948 GB, free: 31.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001997/0.6517, allocations: 0.5587 MB / 0.4954 GB, free: 31.21 MB / 382.1 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: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * 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,1,100.0%), (9,19,33.3%), (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.0003975/0.6521, allocations: 186.7 kB / 0.4956 GB, free: 31.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004387/0.6565, allocations: 2.909 MB / 0.4984 GB, free: 28.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.6565, allocations: 0 / 0.4984 GB, free: 28.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002773/0.6592, allocations: 1.974 MB / 0.5003 GB, free: 26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/0.6621, allocations: 0.5082 MB / 0.5008 GB, free: 25.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009254/0.6713, allocations: 5.225 MB / 0.5059 GB, free: 20.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/0.6728, allocations: 2.02 MB / 0.5079 GB, free: 18.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001499/0.6743, allocations: 403.3 kB / 0.5083 GB, free: 17.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003857/0.6747, allocations: 115.4 kB / 0.5084 GB, free: 17.69 MB / 382.1 MB Notification: Performance of SimCode: time 2.966e-06/0.6747, allocations: 0 / 0.5084 GB, free: 17.69 MB / 382.1 MB Notification: Performance of Templates: time 0.06856/0.7433, allocations: 33.62 MB / 0.5412 GB, free: 28 kB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_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_YD/AIMC_YD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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: 10.835935485549271]