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.001182/0.001182, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001459/0.001459, allocations: 170 kB / 24.82 MB, free: 9.254 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.126/1.126, allocations: 177 MB / 205.1 MB, free: 5.488 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.325e-06/2.325e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.656e-05/3.888e-05, allocations: 2.312 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.008914/0.008953, allocations: 10.02 MB / 283.4 MB, free: 7.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005136/0.01409, allocations: 3.237 MB / 286.6 MB, free: 3.914 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.01514, allocations: 79.5 kB / 286.7 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.01639, allocations: 0.6752 MB / 287.3 MB, free: 3.156 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.01819, allocations: 0.9818 MB / 288.3 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000901/0.01909, allocations: 431.3 kB / 288.7 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1468/0.1659, allocations: 3.546 MB / 292.3 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002894/0.1687, allocations: 1.379 MB / 293.7 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007081/0.1758, allocations: 2.447 MB / 296.1 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004886/0.1807, allocations: 1.739 MB / 297.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001677/0.1824, allocations: 391.1 kB / 298.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.1843, allocations: 490.2 kB / 298.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.1855, allocations: 1.127 MB / 299.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002591/0.1881, allocations: 1.213 MB / 301.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003718/0.1919, allocations: 2.915 MB / 304 MB, free: 13.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1919, allocations: 0 / 304 MB, free: 13.42 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1919, allocations: 3.25 kB / 304 MB, free: 13.42 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001532/0.192, allocations: 0 / 304 MB, free: 13.42 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.005337/0.1974, allocations: 3.609 MB / 307.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1974, allocations: 6.75 kB / 307.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000924/0.1983, allocations: 0.5963 MB / 308.2 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.2006, allocations: 1.69 MB / 309.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.2007, allocations: 193.5 kB / 310.1 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/0.2009, allocations: 259.5 kB / 310.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.2034, allocations: 1.981 MB / 312.3 MB, free: 8.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.903e-05/0.2035, allocations: 3.562 kB / 312.3 MB, free: 8.652 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.2036, allocations: 107.1 kB / 312.4 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-05/0.2037, allocations: 112.9 kB / 312.5 MB, free: 8.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.205, allocations: 0.7602 MB / 313.3 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/0.2162, allocations: 8.854 MB / 322.1 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.2177, allocations: 1.118 MB / 323.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007537/0.2184, allocations: 0.5656 MB / 323.8 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.2186, allocations: 53.3 kB / 323.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007679/0.2194, allocations: 0.6771 MB / 324.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of pre-optimization done (n=155): time 3.637e-06/0.2194, allocations: 0 / 324.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=171): time 0.007827/0.2272, allocations: 3.905 MB / 328.5 MB, free: 8.914 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.2273, allocations: 184.2 kB / 328.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.2286, allocations: 1.491 MB / 330.1 MB, free: 7.426 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.039e-05/0.2287, allocations: 57.7 kB / 330.2 MB, free: 7.363 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009476/0.2296, allocations: 1.333 MB / 331.5 MB, free: 6.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007799/0.2304, allocations: 0.6004 MB / 332.1 MB, free: 5.527 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000383/0.2308, allocations: 389.6 kB / 332.5 MB, free: 5.18 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2309, allocations: 476.8 kB / 333 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003065/0.2312, allocations: 223.8 kB / 333.2 MB, free: 4.492 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006592/0.2319, allocations: 0.9545 MB / 334.1 MB, free: 3.328 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.2334, allocations: 1.544 MB / 335.7 MB, free: 1.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.2334, allocations: 4 kB / 335.7 MB, free: 1.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.002051/0.2354, allocations: 1.586 MB / 337.3 MB, free: 148 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.2355, allocations: 8.625 kB / 337.3 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.759e-05/0.2355, allocations: 12 kB / 337.3 MB, free: 128 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.2365, allocations: 0.4982 MB / 337.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/0.2371, allocations: 300.5 kB / 338.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/0.2424, allocations: 7.768 MB / 345.8 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000786/0.2432, allocations: 91.98 kB / 345.9 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.709e-05/0.2433, allocations: 56 kB / 346 MB, free: 7.227 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.0006741/0.244, allocations: 284.2 kB / 346.3 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005826/0.2446, allocations: 262.6 kB / 346.5 MB, free: 6.699 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.2462, allocations: 1.4 MB / 347.9 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.2462, allocations: 19.98 kB / 347.9 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.2462, allocations: 8 kB / 348 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.2462, allocations: 7.969 kB / 348 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003953/0.2502, allocations: 3.239 MB / 351.2 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.2502, allocations: 4.062 kB / 351.2 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.2506, allocations: 181.9 kB / 351.4 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.2516, allocations: 0.5262 MB / 351.9 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.535e-05/0.2517, allocations: 35.98 kB / 351.9 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006007/0.2577, allocations: 9.445 MB / 361.4 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.2577, allocations: 7.562 kB / 361.4 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.26, allocations: 1.904 MB / 363.3 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/0.2605, allocations: 353.3 kB / 363.6 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.2606, allocations: 36 kB / 363.7 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.2611, allocations: 67.95 kB / 363.7 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.2613, allocations: 160.4 kB / 363.9 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.657e-05/0.2614, allocations: 31.98 kB / 363.9 MB, free: 5.141 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006798/0.2621, allocations: 0.7874 MB / 364.7 MB, free: 4.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2621, allocations: 3.938 kB / 364.7 MB, free: 4.426 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001781/0.2638, allocations: 0.6249 MB / 365.4 MB, free: 3.801 MB / 314.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.0003362/0.2642, allocations: 216.2 kB / 365.6 MB, free: 3.586 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002081/0.2663, allocations: 1.809 MB / 367.4 MB, free: 1.789 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2663, allocations: 0 / 367.4 MB, free: 1.789 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.2675, allocations: 1.51 MB / 368.9 MB, free: 264 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.2688, allocations: 0.5484 MB / 369.4 MB, free: 15.74 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005896/0.2747, allocations: 4.645 MB / 374.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006856/0.2753, allocations: 0.7496 MB / 374.8 MB, free: 10.28 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005557/0.2759, allocations: 240.8 kB / 375.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008444/0.2767, allocations: 0.5604 MB / 375.6 MB, free: 9.477 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2767, allocations: 0 / 375.6 MB, free: 9.477 MB / 330.7 MB Notification: Performance of Templates: time 0.05605/0.3328, allocations: 39.48 MB / 415.1 MB, free: 2.582 MB / 362.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.9711691830307245]