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.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.00187/0.00187, allocations: 102.9 kB / 21.93 MB, free: 5.203 MB / 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.002218/0.002218, allocations: 203.2 kB / 25.22 MB, free: 3.145 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.477/1.477, allocations: 207.7 MB / 236.1 MB, free: 9.77 MB / 190.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 47.92 kB / 348.5 MB, free: 9.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2747, allocations: 49.15 MB / 397.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.009664/0.2843, allocations: 8.648 MB / 406.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005724/0.2901, allocations: 2.979 MB / 409.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.2918, allocations: 55.91 kB / 409.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.2939, allocations: 0.6604 MB / 410 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.2967, allocations: 0.8696 MB / 410.8 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008899/0.2976, allocations: 388.3 kB / 411.2 MB, free: 444 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003641/0.3012, allocations: 3.097 MB / 414.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.303, allocations: 1.25 MB / 415.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0021/0.3051, allocations: 1.41 MB / 417 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.3077, allocations: 1.657 MB / 418.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000548/0.3082, allocations: 362.3 kB / 419 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009295/0.3091, allocations: 449.2 kB / 419.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.3103, allocations: 1.015 MB / 420.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001809/0.3121, allocations: 1.29 MB / 421.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005573/0.3176, allocations: 4.773 MB / 426.5 MB, free: 6.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3177, allocations: 0 / 426.5 MB, free: 6.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3177, allocations: 0 / 426.5 MB, free: 6.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.022e-05/0.3177, allocations: 0 / 426.5 MB, free: 6.199 MB / 334.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.006842/0.3246, allocations: 3.209 MB / 429.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.3246, allocations: 15.98 kB / 429.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007989/0.3254, allocations: 339 kB / 430 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003313/0.3287, allocations: 1.58 MB / 431.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.3289, allocations: 184.7 kB / 431.8 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003617/0.3293, allocations: 224 kB / 432 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005546/0.3348, allocations: 3.285 MB / 435.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.699e-05/0.3349, allocations: 15.94 kB / 435.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00023/0.3351, allocations: 92 kB / 435.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/0.3352, allocations: 100.4 kB / 435.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005097/0.3403, allocations: 2.746 MB / 438.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01572/0.3561, allocations: 8.572 MB / 446.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/0.3585, allocations: 1.55 MB / 448.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002013/0.3605, allocations: 1.128 MB / 449.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/0.3608, allocations: 44.97 kB / 449.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.3608, allocations: 43.56 kB / 449.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=126): time 3.587e-06/0.3608, allocations: 0 / 449.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=142): time 0.01833/0.3791, allocations: 7.696 MB / 457.3 MB, free: 6.848 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.3792, allocations: 72.7 kB / 457.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002279/0.3815, allocations: 1.537 MB / 458.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.3816, allocations: 57.7 kB / 459 MB, free: 5.156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008845/0.3825, allocations: 1.115 MB / 460.1 MB, free: 4.031 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004578/0.3829, allocations: 0.4996 MB / 460.6 MB, free: 3.527 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004969/0.3834, allocations: 299.5 kB / 460.9 MB, free: 3.227 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.3836, allocations: 305.1 kB / 461.2 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.3851, allocations: 0.9018 MB / 462.1 MB, free: 2.023 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/0.387, allocations: 1.263 MB / 463.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/0.3904, allocations: 2.25 MB / 465.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.3904, allocations: 8 kB / 465.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00564/0.396, allocations: 3.018 MB / 468.6 MB, free: 11.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.3961, allocations: 11.94 kB / 468.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.3961, allocations: 12 kB / 468.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002114/0.3982, allocations: 0.8366 MB / 469.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.3994, allocations: 315.5 kB / 469.8 MB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/0.412, allocations: 9.438 MB / 479.2 MB, free: 248 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.4135, allocations: 91.91 kB / 479.3 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.4136, allocations: 56 kB / 479.3 MB, free: 100 kB / 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.001732/0.4153, allocations: 0.8252 MB / 480.2 MB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003962/0.4157, allocations: 182.9 kB / 480.4 MB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005317/0.421, allocations: 2.814 MB / 483.2 MB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.4211, allocations: 19.94 kB / 483.2 MB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.4211, allocations: 8 kB / 483.2 MB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.948e-05/0.4211, allocations: 7.969 kB / 483.2 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.4313, allocations: 5.051 MB / 488.3 MB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.4314, allocations: 7.922 kB / 488.3 MB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000896/0.4323, allocations: 192 kB / 488.4 MB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002384/0.4346, allocations: 0.8899 MB / 489.3 MB, free: 5.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.4347, allocations: 31.98 kB / 489.4 MB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01342/0.4482, allocations: 10.94 MB / 0.4886 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.4482, allocations: 7.922 kB / 0.4886 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007271/0.4554, allocations: 4.115 MB / 0.4926 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/0.4568, allocations: 382.6 kB / 0.493 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/0.4571, allocations: 35.98 kB / 0.493 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009135/0.458, allocations: 75.92 kB / 0.4931 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004138/0.4584, allocations: 152.9 kB / 0.4932 GB, free: 5.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.821e-05/0.4585, allocations: 43.98 kB / 0.4933 GB, free: 5.707 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001617/0.4601, allocations: 1.044 MB / 0.4943 GB, free: 4.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4601, allocations: 0 / 0.4943 GB, free: 4.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001886/0.462, allocations: 0.5508 MB / 0.4948 GB, free: 4.113 MB / 414.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.0004149/0.4624, allocations: 199 kB / 0.495 GB, free: 3.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005092/0.4675, allocations: 2.75 MB / 0.4977 GB, free: 1.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.4675, allocations: 0 / 0.4977 GB, free: 1.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003319/0.4708, allocations: 1.895 MB / 0.4996 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.473, allocations: 465.1 kB / 0.5 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009351/0.4824, allocations: 5.28 MB / 0.5052 GB, free: 9.355 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/0.4842, allocations: 1.429 MB / 0.5065 GB, free: 7.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005059/0.4847, allocations: 115.4 kB / 0.5067 GB, free: 7.773 MB / 430.1 MB Notification: Performance of SimCode: time 1.362e-06/0.4847, allocations: 4 kB / 0.5067 GB, free: 7.77 MB / 430.1 MB Notification: Performance of Templates: time 0.2939/0.7785, allocations: 92.41 MB / 0.5969 GB, free: 130.1 MB / 478.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/jenkins1/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/jenkins1/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: 13.350635759998113]