Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009283/0.0009283, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008919/0.0008919, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.049/1.049, allocations: 173.4 MB / 201.2 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.535e-05, allocations: 5.969 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.009/0.009025, allocations: 10.25 MB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005933/0.01496, allocations: 3.166 MB / 281.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007933/0.01575, allocations: 71.56 kB / 281.5 MB, free: 8.887 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.01706, allocations: 0.6946 MB / 282.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001691/0.01875, allocations: 0.9702 MB / 283.2 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006541/0.0194, allocations: 407.4 kB / 283.6 MB, free: 6.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002897/0.0223, allocations: 3.509 MB / 287.1 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.02369, allocations: 1.389 MB / 288.5 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1346/0.1583, allocations: 2.415 MB / 290.9 MB, free: 16.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/0.1615, allocations: 1.725 MB / 292.6 MB, free: 16.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009782/0.1625, allocations: 387.1 kB / 293 MB, free: 16.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.1635, allocations: 476 kB / 293.4 MB, free: 16.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009825/0.1645, allocations: 1.131 MB / 294.6 MB, free: 16.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002082/0.1666, allocations: 1.213 MB / 295.8 MB, free: 16.85 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003561/0.1702, allocations: 2.895 MB / 298.7 MB, free: 16.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1702, allocations: 1.062 kB / 298.7 MB, free: 16.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1702, allocations: 0 / 298.7 MB, free: 16.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001023/0.1703, allocations: 3.469 kB / 298.7 MB, free: 16.61 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.005952/0.1762, allocations: 3.676 MB / 302.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1763, allocations: 9.703 kB / 302.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.1774, allocations: 0.5689 MB / 302.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.1794, allocations: 1.766 MB / 304.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.1795, allocations: 199.1 kB / 304.9 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/0.1797, allocations: 255.6 kB / 305.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003226/0.183, allocations: 2.143 MB / 307.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.274e-05/0.183, allocations: 11.67 kB / 307.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.1832, allocations: 100.8 kB / 307.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.761e-05/0.1833, allocations: 114.1 kB / 307.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.1853, allocations: 0.9704 MB / 308.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008541/0.1938, allocations: 8.999 MB / 317.5 MB, free: 6.188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.195, allocations: 1.229 MB / 318.7 MB, free: 4.988 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007493/0.1958, allocations: 0.6251 MB / 319.3 MB, free: 4.363 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001812/0.196, allocations: 65.28 kB / 319.4 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006771/0.1966, allocations: 0.7208 MB / 320.1 MB, free: 3.52 MB / 266.7 MB Notification: Performance of pre-optimization done (n=156): time 2.896e-06/0.1966, allocations: 0 / 320.1 MB, free: 3.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=172): time 0.007695/0.2043, allocations: 4.73 MB / 324.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/0.2044, allocations: 176.2 kB / 325 MB, free: 14.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.2059, allocations: 1.498 MB / 326.5 MB, free: 13.07 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.691e-05/0.206, allocations: 53.7 kB / 326.6 MB, free: 13.01 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001061/0.207, allocations: 1.305 MB / 327.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003719/0.2074, allocations: 0.5924 MB / 328.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004001/0.2078, allocations: 376.9 kB / 328.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.2079, allocations: 488.7 kB / 329.3 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/0.2084, allocations: 291.8 kB / 329.6 MB, free: 9.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007873/0.2092, allocations: 0.9702 MB / 330.6 MB, free: 8.766 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.2106, allocations: 1.276 MB / 331.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/0.2106, allocations: 4 kB / 331.9 MB, free: 7.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.002491/0.2131, allocations: 1.74 MB / 333.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.2131, allocations: 10.3 kB / 333.6 MB, free: 5.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.2131, allocations: 15.62 kB / 333.6 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.2143, allocations: 0.4921 MB / 334.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.2153, allocations: 325.1 kB / 334.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006214/0.2215, allocations: 8.066 MB / 342.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007377/0.2223, allocations: 123.9 kB / 342.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.446e-05/0.2224, allocations: 72 kB / 342.7 MB, free: 12.25 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.0005321/0.2229, allocations: 283.7 kB / 343 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/0.2232, allocations: 258.7 kB / 343.2 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.2253, allocations: 1.529 MB / 344.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.2253, allocations: 20 kB / 344.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.2253, allocations: 8 kB / 344.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.2254, allocations: 11.97 kB / 344.8 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/0.2305, allocations: 3.906 MB / 348.7 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.2305, allocations: 4 kB / 348.7 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008223/0.2314, allocations: 204.7 kB / 348.9 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/0.2326, allocations: 0.5332 MB / 349.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.2327, allocations: 47.97 kB / 349.5 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006859/0.2395, allocations: 9.737 MB / 359.2 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.2395, allocations: 7.656 kB / 359.2 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00285/0.2424, allocations: 2.121 MB / 361.3 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005655/0.243, allocations: 386.7 kB / 361.7 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.2431, allocations: 35.98 kB / 361.8 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/0.2436, allocations: 99.91 kB / 361.8 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003356/0.2439, allocations: 192.3 kB / 362 MB, free: 8.379 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.096e-05/0.244, allocations: 47.98 kB / 362.1 MB, free: 8.332 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008835/0.2449, allocations: 0.841 MB / 362.9 MB, free: 7.496 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2449, allocations: 0 / 362.9 MB, free: 7.496 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00218/0.2471, allocations: 0.6288 MB / 363.6 MB, free: 6.867 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.0003654/0.2474, allocations: 211.9 kB / 363.8 MB, free: 6.664 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002349/0.2498, allocations: 1.957 MB / 365.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2498, allocations: 8.062 kB / 365.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.2512, allocations: 1.61 MB / 367.3 MB, free: 3.023 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.2525, allocations: 0.5302 MB / 367.9 MB, free: 2.512 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006353/0.2588, allocations: 4.725 MB / 372.6 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/0.2595, allocations: 0.753 MB / 373.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006876/0.2602, allocations: 350.9 kB / 373.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.2604, allocations: 127.9 kB / 373.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2604, allocations: 0 / 373.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of Templates: time 0.04975/0.3102, allocations: 38.71 MB / 412.5 MB, free: 6.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.978137962985784]