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.001781/0.001781, allocations: 112.2 kB / 21.94 MB, free: 12 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.002199/0.002199, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.474/1.474, allocations: 207.6 MB / 236 MB, free: 9.98 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.001977/0.001977, allocations: 55.92 kB / 348.5 MB, free: 9.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.298, allocations: 49.16 MB / 397.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01092/0.3089, allocations: 9.851 MB / 407.5 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006748/0.3157, allocations: 3.166 MB / 410.6 MB, free: 208 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002126/0.3178, allocations: 59.19 kB / 410.7 MB, free: 180 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.3199, allocations: 0.7086 MB / 411.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003643/0.3235, allocations: 0.8698 MB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.3248, allocations: 391.2 kB / 412.7 MB, free: 15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00492/0.3297, allocations: 3.103 MB / 415.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.3318, allocations: 1.297 MB / 417.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.3346, allocations: 1.402 MB / 418.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003453/0.338, allocations: 1.726 MB / 420.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009765/0.339, allocations: 365.8 kB / 420.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001521/0.3405, allocations: 460.6 kB / 421 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.3418, allocations: 1.008 MB / 422 MB, free: 9.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002812/0.3446, allocations: 1.601 MB / 423.6 MB, free: 8.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006066/0.3507, allocations: 4.736 MB / 428.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3507, allocations: 0 / 428.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3507, allocations: 0 / 428.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001003/0.3508, allocations: 3.938 kB / 428.3 MB, free: 4.539 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.006909/0.3577, allocations: 3.205 MB / 431.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.3578, allocations: 15.98 kB / 431.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007768/0.3586, allocations: 339 kB / 431.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003349/0.3619, allocations: 1.592 MB / 433.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.3621, allocations: 176.7 kB / 433.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/0.3624, allocations: 224 kB / 433.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005593/0.368, allocations: 3.188 MB / 437.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.748e-05/0.3681, allocations: 7.953 kB / 437.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002205/0.3683, allocations: 95.98 kB / 437.2 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.3684, allocations: 100.4 kB / 437.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004658/0.3731, allocations: 2.75 MB / 440 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01796/0.391, allocations: 9.645 MB / 449.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/0.3935, allocations: 1.551 MB / 451.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.3955, allocations: 1.116 MB / 452.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/0.3957, allocations: 53.03 kB / 452.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.3957, allocations: 47.55 kB / 452.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=126): time 3.247e-06/0.3957, allocations: 0 / 452.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=142): time 0.01862/0.4144, allocations: 7.716 MB / 460.1 MB, free: 4.195 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.4144, allocations: 72.72 kB / 460.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003259/0.4177, allocations: 1.665 MB / 461.9 MB, free: 2.441 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001741/0.4179, allocations: 53.7 kB / 461.9 MB, free: 2.383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009245/0.4188, allocations: 1.119 MB / 463 MB, free: 1.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004742/0.4193, allocations: 0.5035 MB / 463.5 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004804/0.4197, allocations: 291.5 kB / 463.8 MB, free: 460 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4199, allocations: 301.1 kB / 464.1 MB, free: 156 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/0.4213, allocations: 0.9057 MB / 465 MB, free: 15.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.4231, allocations: 1.271 MB / 466.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003281/0.4264, allocations: 2.246 MB / 468.5 MB, free: 11.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.4264, allocations: 7.938 kB / 468.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005425/0.4318, allocations: 3.026 MB / 471.6 MB, free: 8.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.4318, allocations: 16 kB / 471.6 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/0.4319, allocations: 8 kB / 471.6 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.4341, allocations: 0.8478 MB / 472.5 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.4353, allocations: 307.5 kB / 472.8 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/0.4481, allocations: 9.616 MB / 482.4 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/0.4497, allocations: 95.86 kB / 482.5 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000287/0.45, allocations: 63.98 kB / 482.5 MB, free: 13.08 MB / 398.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.00198/0.452, allocations: 0.8174 MB / 483.3 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006323/0.4526, allocations: 186.8 kB / 483.5 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00568/0.4583, allocations: 2.823 MB / 486.3 MB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/0.4583, allocations: 15.94 kB / 486.4 MB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.092e-05/0.4584, allocations: 8 kB / 486.4 MB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/0.4584, allocations: 7.969 kB / 486.4 MB, free: 9.188 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/0.4706, allocations: 5.633 MB / 492 MB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.4706, allocations: 4 kB / 492 MB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009081/0.4715, allocations: 203.9 kB / 492.2 MB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002408/0.4739, allocations: 0.8861 MB / 493.1 MB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/0.4741, allocations: 39.98 kB / 493.1 MB, free: 2.305 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/0.4878, allocations: 11.12 MB / 0.4924 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.4878, allocations: 3.938 kB / 0.4924 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007506/0.4953, allocations: 4.135 MB / 0.4965 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/0.4967, allocations: 402.6 kB / 0.4969 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005524/0.4973, allocations: 39.92 kB / 0.4969 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.4985, allocations: 75.92 kB / 0.497 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/0.4989, allocations: 152.9 kB / 0.4971 GB, free: 1.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.499, allocations: 43.98 kB / 0.4972 GB, free: 1.816 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002149/0.5011, allocations: 1.153 MB / 0.4983 GB, free: 0.668 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5011, allocations: 0 / 0.4983 GB, free: 0.668 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002315/0.5034, allocations: 0.5624 MB / 0.4988 GB, free: 108 kB / 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.0004609/0.5039, allocations: 187.3 kB / 0.499 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004999/0.5089, allocations: 2.754 MB / 0.5017 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.5089, allocations: 0 / 0.5017 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003366/0.5123, allocations: 1.907 MB / 0.5036 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/0.5151, allocations: 0.5051 MB / 0.5041 GB, free: 10.65 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.5254, allocations: 5.315 MB / 0.5093 GB, free: 5.258 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00202/0.5274, allocations: 1.985 MB / 0.5112 GB, free: 3.242 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006311/0.528, allocations: 123.4 kB / 0.5113 GB, free: 3.121 MB / 430.1 MB Notification: Performance of SimCode: time 1.453e-06/0.528, allocations: 0 / 0.5113 GB, free: 3.121 MB / 430.1 MB Notification: Performance of Templates: time 0.3271/0.8551, allocations: 92.59 MB / 0.6017 GB, free: 124.3 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: 14.169142298167571]