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.001322/0.001322, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 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.001426/0.001426, allocations: 164.2 kB / 24.71 MB, free: 3.543 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.334/1.334, allocations: 158.6 MB / 186.5 MB, free: 6.398 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.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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.21e-05, allocations: 10.22 kB / 299 MB, free: 8.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01209/0.01212, allocations: 8.63 MB / 307.6 MB, free: 20 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006745/0.01886, allocations: 2.984 MB / 310.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.02061, allocations: 55.56 kB / 310.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00226/0.02287, allocations: 0.6636 MB / 311.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003339/0.02621, allocations: 0.8964 MB / 312.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.02742, allocations: 395.4 kB / 312.6 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004453/0.03187, allocations: 3.205 MB / 315.8 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002541/0.03441, allocations: 1.253 MB / 317 MB, free: 6.477 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004069/0.03848, allocations: 2.035 MB / 319.1 MB, free: 4.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.04161, allocations: 1.5 MB / 320.6 MB, free: 2.934 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009599/0.04257, allocations: 367.9 kB / 320.9 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.04393, allocations: 459.7 kB / 321.4 MB, free: 2.125 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001512/0.04544, allocations: 1.036 MB / 322.4 MB, free: 1.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1475/0.1929, allocations: 1.1 MB / 323.5 MB, free: 19.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00783/0.2008, allocations: 4.786 MB / 328.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2008, allocations: 0 / 328.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2008, allocations: 1.156 kB / 328.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001865/0.201, allocations: 3.562 kB / 328.3 MB, free: 19.73 MB / 302.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.0106/0.2116, allocations: 3.181 MB / 331.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2116, allocations: 16.86 kB / 331.5 MB, free: 18.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.2127, allocations: 337.5 kB / 331.8 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/0.2158, allocations: 1.581 MB / 333.4 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001526/0.2159, allocations: 174.1 kB / 333.6 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003843/0.2163, allocations: 229.1 kB / 333.8 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005668/0.222, allocations: 3.287 MB / 337.1 MB, free: 16.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.995e-05/0.222, allocations: 9.438 kB / 337.1 MB, free: 16.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002416/0.2223, allocations: 93.56 kB / 337.2 MB, free: 16.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.2224, allocations: 104.5 kB / 337.3 MB, free: 16.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004376/0.2268, allocations: 2.742 MB / 340.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.2398, allocations: 8.584 MB / 348.6 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.2418, allocations: 1.549 MB / 350.2 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.2434, allocations: 1.121 MB / 351.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/0.2436, allocations: 50.41 kB / 351.4 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.2436, allocations: 47.41 kB / 351.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of pre-optimization done (n=126): time 5.35e-06/0.2436, allocations: 0 / 351.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of matching and sorting (n=142): time 0.01659/0.2602, allocations: 7.715 MB / 359.1 MB, free: 1.625 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.2603, allocations: 64.72 kB / 359.2 MB, free: 1.547 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002073/0.2623, allocations: 1.541 MB / 360.7 MB, free: 15.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.2625, allocations: 45.7 kB / 360.8 MB, free: 15.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008905/0.2634, allocations: 1.116 MB / 361.9 MB, free: 14.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004866/0.2639, allocations: 0.5044 MB / 362.4 MB, free: 14.33 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000536/0.2644, allocations: 291.5 kB / 362.7 MB, free: 14.04 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.2645, allocations: 304.1 kB / 363 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.2661, allocations: 0.9096 MB / 363.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.2679, allocations: 1.263 MB / 365.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/0.2713, allocations: 2.251 MB / 367.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.2713, allocations: 0 / 367.4 MB, free: 9.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00565/0.2769, allocations: 3.027 MB / 370.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.2769, allocations: 10.97 kB / 370.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.277, allocations: 15.98 kB / 370.4 MB, free: 6.086 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/0.2791, allocations: 0.8337 MB / 371.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.2803, allocations: 305 kB / 371.6 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.2922, allocations: 9.435 MB / 381 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.2939, allocations: 87.91 kB / 381.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/0.2942, allocations: 63.98 kB / 381.2 MB, free: 11.11 MB / 334.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.001923/0.2961, allocations: 0.8102 MB / 382 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006404/0.2968, allocations: 178.8 kB / 382.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005666/0.3024, allocations: 2.814 MB / 385 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/0.3024, allocations: 16 kB / 385 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.563e-05/0.3025, allocations: 8 kB / 385 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/0.3025, allocations: 11.95 kB / 385 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/0.3139, allocations: 5.061 MB / 390.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.3139, allocations: 4 kB / 390.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009219/0.3148, allocations: 194.9 kB / 390.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002449/0.3173, allocations: 0.8985 MB / 391.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.3174, allocations: 35.98 kB / 391.2 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/0.3318, allocations: 10.91 MB / 402.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.3318, allocations: 4.031 kB / 402.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008037/0.3398, allocations: 4.124 MB / 406.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/0.3412, allocations: 382.6 kB / 406.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005935/0.3418, allocations: 28 kB / 406.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/0.3432, allocations: 83.91 kB / 406.7 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004725/0.3436, allocations: 152.7 kB / 406.9 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.3438, allocations: 39.98 kB / 406.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002192/0.346, allocations: 1.044 MB / 407.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.346, allocations: 0 / 407.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002666/0.3486, allocations: 0.5624 MB / 408.5 MB, free: 15.36 MB / 366.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.0005068/0.3491, allocations: 193 kB / 408.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005134/0.3543, allocations: 2.757 MB / 411.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3543, allocations: 0 / 411.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003382/0.3576, allocations: 1.886 MB / 413.3 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002834/0.3605, allocations: 466.8 kB / 413.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.3705, allocations: 5.041 MB / 418.8 MB, free: 4.957 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002264/0.3727, allocations: 1.46 MB / 420.3 MB, free: 3.457 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001465/0.3742, allocations: 382.2 kB / 420.7 MB, free: 3.078 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005508/0.3748, allocations: 112.5 kB / 420.8 MB, free: 2.969 MB / 366.1 MB Notification: Performance of SimCode: time 1.703e-06/0.3748, allocations: 2.844 kB / 420.8 MB, free: 2.969 MB / 366.1 MB Notification: Performance of Templates: time 0.05965/0.4344, allocations: 32.29 MB / 453.1 MB, free: 2.684 MB / 398.1 MB " [Timeout remaining time 660] 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: 9.740053802728653]