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.0009048/0.0009048, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 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.0009489/0.0009489, allocations: 165.1 kB / 25.7 MB, free: 8.406 MB / 18.57 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.8949/0.8949, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.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_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,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_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.376e-05, allocations: 6.25 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.008307/0.008331, allocations: 9.491 MB / 261 MB, free: 13.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004696/0.01303, allocations: 3.193 MB / 264.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000704/0.01373, allocations: 55.62 kB / 264.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.01481, allocations: 0.6675 MB / 264.9 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001667/0.01648, allocations: 0.9081 MB / 265.9 MB, free: 8.875 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.01698, allocations: 395.4 kB / 266.2 MB, free: 8.488 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002036/0.01902, allocations: 3.205 MB / 269.4 MB, free: 5.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.02008, allocations: 1.296 MB / 270.7 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.0223, allocations: 2.206 MB / 273 MB, free: 1.684 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.02363, allocations: 1.559 MB / 274.5 MB, free: 124 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002897/0.02392, allocations: 356 kB / 274.9 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004603/0.02438, allocations: 431.8 kB / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005742/0.02496, allocations: 1.017 MB / 276.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000829/0.02579, allocations: 1.095 MB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002307/0.0281, allocations: 2.597 MB / 280 MB, free: 10.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.0281, allocations: 4 kB / 280 MB, free: 10.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.0281, allocations: 0 / 280 MB, free: 10.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.469e-05/0.02815, allocations: 0 / 280 MB, free: 10.62 MB / 266.7 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.003208/0.03135, allocations: 2.946 MB / 282.9 MB, free: 7.637 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.03139, allocations: 15.98 kB / 283 MB, free: 7.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006197/0.03201, allocations: 416.6 kB / 283.4 MB, free: 7.215 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.03329, allocations: 1.068 MB / 284.4 MB, free: 6.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.03339, allocations: 176.9 kB / 284.6 MB, free: 5.918 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/0.03361, allocations: 220.4 kB / 284.8 MB, free: 5.703 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.0355, allocations: 1.811 MB / 286.6 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.301e-05/0.03554, allocations: 3.953 kB / 286.6 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.03568, allocations: 92 kB / 286.7 MB, free: 3.672 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002955/0.03597, allocations: 104.4 kB / 286.8 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.03701, allocations: 0.6862 MB / 287.5 MB, free: 2.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006359/0.04337, allocations: 6.197 MB / 293.7 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.04438, allocations: 0.7648 MB / 294.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.0449, allocations: 451.5 kB / 294.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.04504, allocations: 52.92 kB / 295 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.04507, allocations: 43.56 kB / 295 MB, free: 11.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=126): time 2.655e-06/0.04507, allocations: 0 / 295 MB, free: 11.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=142): time 0.006186/0.05126, allocations: 3.487 MB / 298.5 MB, free: 7.539 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.0513, allocations: 68.72 kB / 298.6 MB, free: 7.457 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007587/0.05206, allocations: 1.088 MB / 299.6 MB, free: 6.355 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.951e-05/0.05213, allocations: 53.7 kB / 299.7 MB, free: 6.297 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.05249, allocations: 0.9063 MB / 300.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000494/0.05299, allocations: 0.4918 MB / 301.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.05326, allocations: 279.3 kB / 301.4 MB, free: 4.602 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.05332, allocations: 301.1 kB / 301.7 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.0536, allocations: 198.8 kB / 301.9 MB, free: 4.109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/0.054, allocations: 0.5289 MB / 302.4 MB, free: 3.438 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007761/0.05477, allocations: 0.9045 MB / 303.3 MB, free: 2.391 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.05478, allocations: 4 kB / 303.3 MB, free: 2.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.001485/0.05626, allocations: 1.159 MB / 304.5 MB, free: 1.199 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.05628, allocations: 8 kB / 304.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.0563, allocations: 15.98 kB / 304.5 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009289/0.05723, allocations: 436.8 kB / 304.9 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005514/0.05778, allocations: 275.5 kB / 305.2 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004256/0.06203, allocations: 5.714 MB / 310.9 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006433/0.06268, allocations: 56.02 kB / 310.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/0.06275, allocations: 44 kB / 311 MB, free: 10.37 MB / 298.7 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.0005003/0.06325, allocations: 216.2 kB / 311.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.06348, allocations: 155.8 kB / 311.4 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.06493, allocations: 1.076 MB / 312.4 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.06494, allocations: 19.94 kB / 312.4 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.06494, allocations: 8 kB / 312.5 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.06495, allocations: 7.969 kB / 312.5 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/0.06818, allocations: 2.432 MB / 314.9 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.06818, allocations: 4 kB / 314.9 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006767/0.06886, allocations: 172.1 kB / 315.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.06991, allocations: 0.5268 MB / 315.6 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-05/0.06997, allocations: 35.97 kB / 315.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004452/0.07442, allocations: 6.898 MB / 322.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.07442, allocations: 4.031 kB / 322.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.07622, allocations: 1.474 MB / 324 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003947/0.07661, allocations: 230.7 kB / 324.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.07678, allocations: 39.92 kB / 324.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004974/0.07727, allocations: 55.97 kB / 324.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.07748, allocations: 125 kB / 324.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/0.07753, allocations: 27.98 kB / 324.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004517/0.07798, allocations: 0.537 MB / 325 MB, free: 11.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.07799, allocations: 0 / 325 MB, free: 11.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001235/0.07922, allocations: 0.5508 MB / 325.6 MB, free: 11.18 MB / 314.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: 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%), (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.0002689/0.07949, allocations: 164.2 kB / 325.7 MB, free: 11.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.08105, allocations: 1.403 MB / 327.1 MB, free: 9.562 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.339e-05/0.08108, allocations: 24.44 kB / 327.1 MB, free: 9.539 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.0821, allocations: 1.156 MB / 328.3 MB, free: 8.328 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000997/0.0831, allocations: 477.6 kB / 328.8 MB, free: 7.871 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004805/0.0879, allocations: 4.067 MB / 332.8 MB, free: 3.719 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/0.08841, allocations: 0.5815 MB / 333.4 MB, free: 3.105 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005223/0.08893, allocations: 206.4 kB / 333.6 MB, free: 2.898 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006855/0.08962, allocations: 439.1 kB / 334 MB, free: 2.465 MB / 314.7 MB Notification: Performance of SimCode: time 1.593e-06/0.08962, allocations: 0 / 334 MB, free: 2.465 MB / 314.7 MB Notification: Performance of Templates: time 0.1437/0.2333, allocations: 33.46 MB / 367.5 MB, free: 89.25 MB / 330.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) [Timeout 240] 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","",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.623264846857637]