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.0009759/0.0009759, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001187/0.001187, allocations: 161.5 kB / 25.61 MB, free: 8.582 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 0.9652/0.9652, allocations: 177 MB / 205.9 MB, free: 4.473 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 1.373e-06/1.373e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2e-05, allocations: 5.156 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.008225/0.008245, allocations: 10.02 MB / 284.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004159/0.0124, allocations: 3.233 MB / 287.4 MB, free: 6.992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006174/0.01302, allocations: 71.56 kB / 287.4 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.01413, allocations: 0.6907 MB / 288.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.01543, allocations: 0.9663 MB / 289.1 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.01594, allocations: 435.3 kB / 289.5 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002163/0.0181, allocations: 3.561 MB / 293.1 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.01933, allocations: 1.381 MB / 294.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002075/0.02141, allocations: 2.441 MB / 296.9 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.02282, allocations: 1.738 MB / 298.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003357/0.02316, allocations: 388 kB / 299 MB, free: 11.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005804/0.02374, allocations: 487.7 kB / 299.5 MB, free: 10.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006997/0.02444, allocations: 1.134 MB / 300.6 MB, free: 9.629 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.02565, allocations: 1.22 MB / 301.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.02813, allocations: 2.909 MB / 304.8 MB, free: 5.488 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.02813, allocations: 0 / 304.8 MB, free: 5.488 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.02813, allocations: 3.938 kB / 304.8 MB, free: 5.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.02815, allocations: 0 / 304.8 MB, free: 5.484 MB / 282.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.003665/0.03182, allocations: 3.601 MB / 308.4 MB, free: 1.824 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.03185, allocations: 8.031 kB / 308.4 MB, free: 1.816 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007624/0.03261, allocations: 0.6002 MB / 309 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.03415, allocations: 1.685 MB / 310.7 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001074/0.03426, allocations: 197.4 kB / 310.9 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/0.03449, allocations: 256.3 kB / 311.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/0.03673, allocations: 1.981 MB / 313.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.257e-05/0.03677, allocations: 4 kB / 313.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.03692, allocations: 104 kB / 313.2 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.42e-05/0.037, allocations: 112.9 kB / 313.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.03807, allocations: 0.7554 MB / 314.1 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007837/0.04591, allocations: 8.851 MB / 322.9 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.04697, allocations: 1.132 MB / 324 MB, free: 1.648 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006465/0.04761, allocations: 0.5622 MB / 324.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.04775, allocations: 49.3 kB / 324.7 MB, free: 1.035 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005927/0.04834, allocations: 0.6782 MB / 325.3 MB, free: 304 kB / 298.7 MB Notification: Performance of pre-optimization done (n=155): time 2.495e-06/0.04834, allocations: 0 / 325.3 MB, free: 304 kB / 298.7 MB Notification: Performance of matching and sorting (n=171): time 0.006894/0.05523, allocations: 3.901 MB / 329.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.05531, allocations: 180.1 kB / 329.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.05646, allocations: 1.491 MB / 330.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-05/0.05654, allocations: 53.7 kB / 331 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007242/0.05727, allocations: 1.342 MB / 332.3 MB, free: 9.207 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000331/0.0576, allocations: 0.6005 MB / 332.9 MB, free: 8.602 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003768/0.05797, allocations: 384.8 kB / 333.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.05808, allocations: 476.8 kB / 333.7 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/0.05841, allocations: 227.8 kB / 334 MB, free: 7.523 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008986/0.05931, allocations: 0.9497 MB / 334.9 MB, free: 6.312 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.06073, allocations: 1.555 MB / 336.5 MB, free: 4.543 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.06073, allocations: 0 / 336.5 MB, free: 4.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.001923/0.06266, allocations: 1.588 MB / 338.1 MB, free: 2.926 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.06267, allocations: 15.94 kB / 338.1 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.06269, allocations: 12 kB / 338.1 MB, free: 2.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009545/0.06364, allocations: 483.5 kB / 338.6 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/0.06425, allocations: 307.5 kB / 338.9 MB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005626/0.06987, allocations: 7.784 MB / 346.6 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.07094, allocations: 95.94 kB / 346.7 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.07106, allocations: 52 kB / 346.8 MB, free: 9.836 MB / 330.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.0006654/0.07173, allocations: 290.7 kB / 347.1 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003469/0.07208, allocations: 266.6 kB / 347.3 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001823/0.0739, allocations: 1.387 MB / 348.7 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.07391, allocations: 20 kB / 348.7 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.07392, allocations: 8 kB / 348.7 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.07393, allocations: 7.969 kB / 348.7 MB, free: 7.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004407/0.07834, allocations: 3.229 MB / 352 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.07834, allocations: 288 / 352 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.07879, allocations: 187.7 kB / 352.2 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/0.0799, allocations: 0.5239 MB / 352.7 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-05/0.07999, allocations: 39.98 kB / 352.7 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1383/0.2183, allocations: 9.418 MB / 362.1 MB, free: 71.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.2183, allocations: 6.844 kB / 362.1 MB, free: 71.63 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003519/0.2218, allocations: 1.905 MB / 364.1 MB, free: 71.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007541/0.2225, allocations: 348.2 kB / 364.4 MB, free: 71.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/0.2228, allocations: 40 kB / 364.4 MB, free: 71.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006357/0.2234, allocations: 72.12 kB / 364.5 MB, free: 71.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004023/0.2238, allocations: 153.3 kB / 364.7 MB, free: 71.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-05/0.2239, allocations: 37.77 kB / 364.7 MB, free: 71.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009512/0.2248, allocations: 0.787 MB / 365.5 MB, free: 71.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2248, allocations: 0.875 kB / 365.5 MB, free: 71.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00188/0.2267, allocations: 0.6266 MB / 366.1 MB, free: 71.02 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%), (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.0003352/0.2271, allocations: 211.9 kB / 366.3 MB, free: 70.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002215/0.2293, allocations: 1.807 MB / 368.1 MB, free: 70.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2293, allocations: 0 / 368.1 MB, free: 70.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.2307, allocations: 1.516 MB / 369.6 MB, free: 69.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.2323, allocations: 0.5442 MB / 370.2 MB, free: 69.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006348/0.2387, allocations: 4.649 MB / 374.8 MB, free: 67.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007688/0.2395, allocations: 0.7499 MB / 375.6 MB, free: 67.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008254/0.2403, allocations: 246.1 kB / 375.8 MB, free: 67.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009556/0.2412, allocations: 0.5595 MB / 376.4 MB, free: 67.31 MB / 330.7 MB Notification: Performance of SimCode: time 1.322e-06/0.2412, allocations: 0 / 376.4 MB, free: 67.31 MB / 330.7 MB Notification: Performance of Templates: time 0.04891/0.2901, allocations: 40.2 MB / 416.6 MB, free: 30.03 MB / 330.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: 3.978609869722277]