Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009693/0.0009693, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001545/0.001545, allocations: 161 kB / 24.99 MB, free: 8.805 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.054/1.054, allocations: 177 MB / 205.2 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/3.007e-05, allocations: 2.312 kB / 273 MB, free: 1.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01113/0.01116, allocations: 10.26 MB / 283.3 MB, free: 7.406 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006052/0.01721, allocations: 3.248 MB / 286.5 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.01867, allocations: 71.5 kB / 286.6 MB, free: 4.078 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.02014, allocations: 0.6791 MB / 287.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002175/0.02232, allocations: 0.9779 MB / 288.2 MB, free: 2.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008068/0.02312, allocations: 431.4 kB / 288.7 MB, free: 1.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1543/0.1774, allocations: 3.546 MB / 292.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003145/0.1806, allocations: 1.381 MB / 293.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005678/0.1862, allocations: 2.297 MB / 295.9 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005362/0.1916, allocations: 1.785 MB / 297.7 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001927/0.1935, allocations: 396 kB / 298.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.1959, allocations: 494.8 kB / 298.5 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001533/0.1974, allocations: 1.17 MB / 299.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003005/0.2004, allocations: 1.239 MB / 300.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003602/0.204, allocations: 2.961 MB / 303.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.204, allocations: 1.906 kB / 303.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.204, allocations: 1.062 kB / 303.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.781e-05/0.2041, allocations: 0 / 303.9 MB, free: 13.21 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.004505/0.2086, allocations: 3.748 MB / 307.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2087, allocations: 10.34 kB / 307.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009294/0.2096, allocations: 0.593 MB / 308.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/0.2116, allocations: 1.789 MB / 310.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.2117, allocations: 197 kB / 310.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.212, allocations: 265.1 kB / 310.5 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.2148, allocations: 2.145 MB / 312.6 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.29e-05/0.2149, allocations: 4 kB / 312.7 MB, free: 8.195 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.2151, allocations: 111.5 kB / 312.8 MB, free: 8.094 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.87e-05/0.2151, allocations: 108.9 kB / 312.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.2172, allocations: 0.9807 MB / 313.8 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009868/0.2271, allocations: 9.096 MB / 322.9 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.2285, allocations: 1.199 MB / 324.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008564/0.2293, allocations: 0.6285 MB / 324.8 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.2295, allocations: 57.91 kB / 324.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00077/0.2303, allocations: 0.7248 MB / 325.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of pre-optimization done (n=155): time 2.865e-06/0.2303, allocations: 0 / 325.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=171): time 0.01101/0.2413, allocations: 4.707 MB / 330.3 MB, free: 6.531 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/0.2414, allocations: 180.2 kB / 330.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.2434, allocations: 1.543 MB / 332 MB, free: 4.762 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.83e-05/0.2435, allocations: 57.7 kB / 332 MB, free: 4.699 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.2446, allocations: 1.32 MB / 333.4 MB, free: 3.371 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004763/0.2451, allocations: 0.5934 MB / 333.9 MB, free: 2.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005155/0.2456, allocations: 373.1 kB / 334.3 MB, free: 2.414 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2457, allocations: 488.7 kB / 334.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000691/0.2464, allocations: 291.8 kB / 335.1 MB, free: 1.648 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.2474, allocations: 1.019 MB / 336.1 MB, free: 388 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/0.25, allocations: 1.731 MB / 337.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.25, allocations: 0 / 337.8 MB, free: 14.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.003238/0.2532, allocations: 1.758 MB / 339.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.2533, allocations: 9.156 kB / 339.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.2533, allocations: 19.98 kB / 339.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.2548, allocations: 0.4947 MB / 340.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.2559, allocations: 333.9 kB / 340.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007023/0.2629, allocations: 8.068 MB / 348.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.2641, allocations: 135.8 kB / 348.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.2642, allocations: 68 kB / 348.7 MB, free: 3.359 MB / 298.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: aimc.is[3] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[1].tSwitch,booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,switchYD.idealOpener.control[3],switchYD.idealOpener.control[2],switchYD.idealOpener.control[1],switchYD.idealCloser.control[3],switchYD.idealCloser.control[2],switchYD.idealCloser.control[1],idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * 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,25,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007859/0.265, allocations: 291.3 kB / 349 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003657/0.2654, allocations: 254.7 kB / 349.2 MB, free: 2.836 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002836/0.2682, allocations: 1.543 MB / 350.8 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.2682, allocations: 16 kB / 350.8 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.2683, allocations: 11.47 kB / 350.8 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.2683, allocations: 7.969 kB / 350.8 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006814/0.2751, allocations: 3.928 MB / 354.7 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.2751, allocations: 4 kB / 354.7 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.2757, allocations: 206.4 kB / 354.9 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001636/0.2774, allocations: 0.5484 MB / 355.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.2775, allocations: 39.98 kB / 355.5 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008312/0.2858, allocations: 9.814 MB / 365.3 MB, free: 2.234 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.2858, allocations: 4 kB / 365.3 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003991/0.2898, allocations: 2.119 MB / 367.5 MB, free: 64 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009267/0.2907, allocations: 394.5 kB / 367.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.291, allocations: 31.98 kB / 367.9 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007314/0.2917, allocations: 112 kB / 368 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004382/0.2922, allocations: 188.5 kB / 368.2 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-05/0.2923, allocations: 47.98 kB / 368.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001302/0.2936, allocations: 0.8616 MB / 369.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2936, allocations: 0 / 369.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001827/0.2954, allocations: 0.6328 MB / 369.7 MB, free: 13.82 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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,25,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.00038/0.2958, allocations: 217.5 kB / 369.9 MB, free: 13.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002608/0.2984, allocations: 1.966 MB / 371.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.2984, allocations: 4.062 kB / 371.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.3001, allocations: 1.637 MB / 373.5 MB, free: 9.934 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.3019, allocations: 0.541 MB / 374.1 MB, free: 9.418 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007198/0.3091, allocations: 4.716 MB / 378.8 MB, free: 4.633 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.3102, allocations: 0.7534 MB / 379.6 MB, free: 3.852 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009625/0.3111, allocations: 348.6 kB / 379.9 MB, free: 3.508 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.3114, allocations: 124.5 kB / 380 MB, free: 3.387 MB / 330.7 MB Notification: Performance of SimCode: time 1.993e-06/0.3114, allocations: 4 kB / 380 MB, free: 3.383 MB / 330.7 MB Notification: Performance of Templates: time 0.04655/0.358, allocations: 37.93 MB / 417.9 MB, free: 13.96 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_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: 4.110595196019858]