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.001439/0.001439, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001892/0.001892, allocations: 171.2 kB / 24.91 MB, free: 9.188 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.463e-06/1.463e-06, allocations: 0 / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.641e-05, allocations: 2.312 kB / 273.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.008086/0.008112, allocations: 10.06 MB / 283.6 MB, free: 7.125 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003946/0.01206, allocations: 3.352 MB / 286.9 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005176/0.01258, allocations: 67.56 kB / 287 MB, free: 3.695 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.01359, allocations: 0.7063 MB / 287.7 MB, free: 2.984 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.01485, allocations: 0.9662 MB / 288.7 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.01531, allocations: 431.3 kB / 289.1 MB, free: 1.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1116/0.1269, allocations: 3.528 MB / 292.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.1286, allocations: 1.411 MB / 294 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.1316, allocations: 2.42 MB / 296.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002292/0.1339, allocations: 1.727 MB / 298.2 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007492/0.1346, allocations: 386.5 kB / 298.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008009/0.1354, allocations: 493.5 kB / 299 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007126/0.1361, allocations: 1.125 MB / 300.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.1373, allocations: 1.218 MB / 301.4 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.1394, allocations: 2.915 MB / 304.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1394, allocations: 1.375 kB / 304.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1394, allocations: 0 / 304.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.958e-05/0.1394, allocations: 0 / 304.3 MB, free: 13.11 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.002755/0.1422, allocations: 3.287 MB / 307.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.1422, allocations: 7.812 kB / 307.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006834/0.1429, allocations: 487.1 kB / 308.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.1441, allocations: 1.272 MB / 309.3 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.171e-05/0.1442, allocations: 195.3 kB / 309.5 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.1444, allocations: 264.8 kB / 309.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.146, allocations: 1.993 MB / 311.8 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.645e-05/0.1461, allocations: 11.8 kB / 311.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/0.1462, allocations: 108.1 kB / 311.9 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-05/0.1463, allocations: 104.9 kB / 312 MB, free: 8.961 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009757/0.1472, allocations: 0.7772 MB / 312.8 MB, free: 8.164 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005299/0.1525, allocations: 6.878 MB / 319.6 MB, free: 1.574 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008367/0.1534, allocations: 1.105 MB / 320.8 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005129/0.1539, allocations: 0.5126 MB / 321.3 MB, free: 12 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.154, allocations: 61.22 kB / 321.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005813/0.1546, allocations: 0.6621 MB / 322 MB, free: 15.29 MB / 282.7 MB Notification: Performance of pre-optimization done (n=156): time 2.405e-06/0.1546, allocations: 0 / 322 MB, free: 15.29 MB / 282.7 MB Notification: Performance of matching and sorting (n=172): time 0.006686/0.1613, allocations: 3.909 MB / 325.9 MB, free: 11.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.1614, allocations: 176.2 kB / 326.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008083/0.1622, allocations: 1.208 MB / 327.3 MB, free: 10.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.587e-05/0.1623, allocations: 53.7 kB / 327.3 MB, free: 10.17 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.1627, allocations: 0.9864 MB / 328.3 MB, free: 9.246 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002789/0.163, allocations: 0.5773 MB / 328.9 MB, free: 8.703 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003209/0.1633, allocations: 335.7 kB / 329.2 MB, free: 8.414 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.957e-05/0.1633, allocations: 305.1 kB / 329.5 MB, free: 8.113 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.1637, allocations: 226.7 kB / 329.7 MB, free: 7.891 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.1641, allocations: 0.7074 MB / 330.4 MB, free: 7.047 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008775/0.165, allocations: 1.021 MB / 331.5 MB, free: 5.957 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.165, allocations: 4 kB / 331.5 MB, free: 5.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.001566/0.1666, allocations: 1.295 MB / 332.8 MB, free: 4.734 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1666, allocations: 12 kB / 332.8 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/0.1666, allocations: 12 kB / 332.8 MB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009096/0.1675, allocations: 470.3 kB / 333.2 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000668/0.1682, allocations: 341.8 kB / 333.6 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004167/0.1724, allocations: 5.913 MB / 339.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.1729, allocations: 91.92 kB / 339.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.631e-05/0.173, allocations: 56 kB / 339.6 MB, free: 13.71 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.0003773/0.1733, allocations: 235.3 kB / 339.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.1735, allocations: 171.8 kB / 340 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.1751, allocations: 1.201 MB / 341.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.1751, allocations: 20 kB / 341.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1752, allocations: 8 kB / 341.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.1752, allocations: 7.969 kB / 341.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/0.1785, allocations: 2.761 MB / 344 MB, free: 9.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.1785, allocations: 4 kB / 344 MB, free: 9.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.1789, allocations: 206.6 kB / 344.2 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.1802, allocations: 0.5772 MB / 344.8 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.014e-05/0.1803, allocations: 43.98 kB / 344.9 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004605/0.1849, allocations: 7.088 MB / 351.9 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1849, allocations: 7.188 kB / 352 MB, free: 1.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.1868, allocations: 1.644 MB / 353.6 MB, free: 15.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003822/0.1871, allocations: 269.7 kB / 353.9 MB, free: 15.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.1873, allocations: 39.98 kB / 353.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.1877, allocations: 63.97 kB / 354 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002512/0.1879, allocations: 160.5 kB / 354.1 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/0.188, allocations: 35.98 kB / 354.2 MB, free: 15.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004492/0.1885, allocations: 0.5951 MB / 354.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1885, allocations: 0 / 354.8 MB, free: 14.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001068/0.1895, allocations: 0.6211 MB / 355.4 MB, free: 13.99 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.0002499/0.1898, allocations: 195.6 kB / 355.6 MB, free: 13.81 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.1913, allocations: 1.531 MB / 357.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.016e-05/0.1913, allocations: 16.5 kB / 357.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.1924, allocations: 1.245 MB / 358.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.1934, allocations: 0.5349 MB / 358.9 MB, free: 10.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/0.1983, allocations: 4.514 MB / 363.4 MB, free: 5.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.1989, allocations: 0.6518 MB / 364.1 MB, free: 5.297 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005023/0.1994, allocations: 240.7 kB / 364.3 MB, free: 5.059 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008248/0.2002, allocations: 499 kB / 364.8 MB, free: 4.566 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2002, allocations: 0 / 364.8 MB, free: 4.566 MB / 314.7 MB Notification: Performance of Templates: time 0.04141/0.2416, allocations: 39.1 MB / 403.9 MB, free: 14.14 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 -s gbode -gbm=radauIIA3 -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.7688820152543485]