Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.001424/0.001424, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.001281/0.001281, allocations: 168.3 kB / 24.82 MB, free: 8.773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.049/1.049, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.1.0_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_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.148e-05, allocations: 2.312 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.008193/0.008215, allocations: 10.01 MB / 283.4 MB, free: 7.254 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005338/0.01355, allocations: 3.217 MB / 286.6 MB, free: 4.027 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.01461, allocations: 75.5 kB / 286.7 MB, free: 3.953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001365/0.01597, allocations: 0.6907 MB / 287.4 MB, free: 3.258 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.01781, allocations: 0.9702 MB / 288.4 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007138/0.01852, allocations: 427.3 kB / 288.8 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1301/0.1486, allocations: 3.526 MB / 292.3 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002293/0.1509, allocations: 1.383 MB / 293.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003444/0.1544, allocations: 2.436 MB / 296.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.1569, allocations: 1.735 MB / 297.9 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001131/0.158, allocations: 387.6 kB / 298.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009895/0.159, allocations: 486.1 kB / 298.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008803/0.1599, allocations: 1.13 MB / 299.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001839/0.1617, allocations: 1.216 MB / 301.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003329/0.165, allocations: 2.918 MB / 304 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1651, allocations: 0 / 304 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1651, allocations: 4.719 kB / 304 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001475/0.1652, allocations: 0 / 304 MB, free: 13.5 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.004968/0.1702, allocations: 3.599 MB / 307.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1702, allocations: 12.31 kB / 307.6 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008329/0.171, allocations: 0.5957 MB / 308.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.1727, allocations: 1.682 MB / 309.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.952e-05/0.1728, allocations: 195.6 kB / 310.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002236/0.173, allocations: 259.5 kB / 310.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001991/0.175, allocations: 1.974 MB / 312.3 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.105e-05/0.1751, allocations: 7.953 kB / 312.3 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.1752, allocations: 104 kB / 312.4 MB, free: 8.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.04e-05/0.1753, allocations: 108.9 kB / 312.5 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.1765, allocations: 0.7679 MB / 313.3 MB, free: 7.832 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007624/0.1841, allocations: 8.85 MB / 322.1 MB, free: 15.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.1853, allocations: 1.116 MB / 323.2 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006779/0.186, allocations: 0.562 MB / 323.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.1861, allocations: 54.53 kB / 323.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006796/0.1868, allocations: 0.6803 MB / 324.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of pre-optimization done (n=156): time 3.317e-06/0.1868, allocations: 8 kB / 324.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=172): time 0.007238/0.194, allocations: 3.93 MB / 328.5 MB, free: 9.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.1941, allocations: 183.5 kB / 328.7 MB, free: 8.848 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.1954, allocations: 1.471 MB / 330.1 MB, free: 7.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.298e-05/0.1955, allocations: 57.7 kB / 330.2 MB, free: 7.527 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008784/0.1964, allocations: 1.332 MB / 331.5 MB, free: 6.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.1967, allocations: 0.5997 MB / 332.1 MB, free: 5.691 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003831/0.1971, allocations: 374.2 kB / 332.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1972, allocations: 488.7 kB / 333 MB, free: 4.879 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/0.1976, allocations: 219.8 kB / 333.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/0.1982, allocations: 0.9108 MB / 334.1 MB, free: 3.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.1993, allocations: 1.161 MB / 335.2 MB, free: 2.277 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.1993, allocations: 4 kB / 335.2 MB, free: 2.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.002062/0.2013, allocations: 1.578 MB / 336.8 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.2014, allocations: 12.03 kB / 336.8 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.2014, allocations: 12 kB / 336.8 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.2024, allocations: 485.1 kB / 337.3 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/0.2031, allocations: 309.7 kB / 337.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005785/0.2089, allocations: 7.777 MB / 345.4 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.2101, allocations: 83.95 kB / 345.5 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.2102, allocations: 52 kB / 345.5 MB, free: 7.863 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 24 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,switchYD.logicalDelay[3].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.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 (185): * Single equations (assignments): 180 * 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.0008318/0.211, allocations: 284.2 kB / 345.8 MB, free: 7.594 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003626/0.2114, allocations: 266.6 kB / 346.1 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.2133, allocations: 1.403 MB / 347.5 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.2134, allocations: 19.94 kB / 347.5 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.2134, allocations: 8 kB / 347.5 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.2134, allocations: 11.97 kB / 347.5 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004998/0.2184, allocations: 3.237 MB / 350.8 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2184, allocations: 0 / 350.8 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/0.2188, allocations: 189.8 kB / 350.9 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.2199, allocations: 0.5191 MB / 351.5 MB, free: 2.121 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-05/0.22, allocations: 39.98 kB / 351.5 MB, free: 2.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00659/0.2266, allocations: 9.453 MB / 360.9 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2266, allocations: 0 / 360.9 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.2293, allocations: 1.921 MB / 362.9 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000651/0.2299, allocations: 346.5 kB / 363.2 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.2301, allocations: 36 kB / 363.2 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004509/0.2306, allocations: 67.95 kB / 363.3 MB, free: 5.941 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003189/0.2309, allocations: 156.5 kB / 363.5 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-05/0.2309, allocations: 43.98 kB / 363.5 MB, free: 5.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009417/0.2319, allocations: 0.7791 MB / 364.3 MB, free: 5.047 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2319, allocations: 4 kB / 364.3 MB, free: 5.043 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001982/0.2339, allocations: 0.6288 MB / 364.9 MB, free: 4.414 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: 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 (123): * Single equations (assignments): 115 * 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.0003539/0.2342, allocations: 213.2 kB / 365.1 MB, free: 4.211 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002466/0.2367, allocations: 1.796 MB / 366.9 MB, free: 2.422 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.2367, allocations: 5.938 kB / 366.9 MB, free: 2.418 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.2385, allocations: 1.518 MB / 368.4 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.2403, allocations: 0.5434 MB / 369 MB, free: 356 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00748/0.2478, allocations: 4.687 MB / 373.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008522/0.2486, allocations: 0.7494 MB / 374.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009746/0.2496, allocations: 232.7 kB / 374.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/0.2509, allocations: 0.5565 MB / 375.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2509, allocations: 4 kB / 375.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of Templates: time 0.05784/0.3088, allocations: 39.49 MB / 414.7 MB, free: 3.25 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.8866144469939172]