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.0009902/0.0009902, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.00102/0.00102, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.001/1.001, allocations: 177 MB / 204.8 MB, free: 5.578 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.723e-06/1.723e-06, allocations: 0 / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.857e-05, allocations: 4.984 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.008776/0.008804, allocations: 10.31 MB / 283.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006036/0.01484, allocations: 3.252 MB / 286.5 MB, free: 3.805 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001681/0.01652, allocations: 71.5 kB / 286.6 MB, free: 3.734 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.01828, allocations: 0.6985 MB / 287.3 MB, free: 3.031 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00285/0.02113, allocations: 0.9624 MB / 288.2 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009168/0.02204, allocations: 431.3 kB / 288.6 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1278/0.1499, allocations: 3.548 MB / 292.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002113/0.152, allocations: 1.38 MB / 293.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003327/0.1553, allocations: 2.292 MB / 295.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004215/0.1595, allocations: 1.785 MB / 297.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001298/0.1608, allocations: 397.3 kB / 298 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.1622, allocations: 496.4 kB / 298.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00091/0.1631, allocations: 1.172 MB / 299.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.165, allocations: 1.238 MB / 300.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003264/0.1682, allocations: 2.955 MB / 303.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1682, allocations: 4.5 kB / 303.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1682, allocations: 0.5312 kB / 303.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001192/0.1683, allocations: 0.625 kB / 303.9 MB, free: 13.19 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.004691/0.173, allocations: 3.75 MB / 307.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1731, allocations: 13.16 kB / 307.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009097/0.174, allocations: 0.5916 MB / 308.2 MB, free: 10.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.1759, allocations: 1.791 MB / 310 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.895e-05/0.1759, allocations: 195.9 kB / 310.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/0.1762, allocations: 256.6 kB / 310.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.1786, allocations: 2.149 MB / 312.6 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.556e-05/0.1787, allocations: 4 kB / 312.6 MB, free: 7.898 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/0.1788, allocations: 107.6 kB / 312.7 MB, free: 7.797 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.811e-05/0.1789, allocations: 112.9 kB / 312.8 MB, free: 7.684 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001724/0.1806, allocations: 0.9761 MB / 313.8 MB, free: 6.699 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008242/0.1889, allocations: 9.097 MB / 322.9 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.1903, allocations: 1.204 MB / 324.1 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008812/0.1912, allocations: 0.6306 MB / 324.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001766/0.1914, allocations: 53.91 kB / 324.8 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007827/0.1922, allocations: 0.7285 MB / 325.5 MB, free: 10.94 MB / 282.7 MB Notification: Performance of pre-optimization done (n=155): time 2.655e-06/0.1922, allocations: 0 / 325.5 MB, free: 10.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=171): time 0.008184/0.2003, allocations: 4.709 MB / 330.2 MB, free: 6.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.887e-05/0.2004, allocations: 175.9 kB / 330.4 MB, free: 6.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.2019, allocations: 1.539 MB / 332 MB, free: 4.465 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.831e-05/0.202, allocations: 57.7 kB / 332 MB, free: 4.402 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007855/0.2028, allocations: 1.325 MB / 333.3 MB, free: 3.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/0.2031, allocations: 0.589 MB / 333.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003959/0.2035, allocations: 383.8 kB / 334.3 MB, free: 2.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.2036, allocations: 476.8 kB / 334.8 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005294/0.2042, allocations: 299.8 kB / 335.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008217/0.205, allocations: 1.008 MB / 336.1 MB, free: 84 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/0.207, allocations: 1.727 MB / 337.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.2071, allocations: 4 kB / 337.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.003392/0.2104, allocations: 1.764 MB / 339.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.2105, allocations: 8.625 kB / 339.6 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.2105, allocations: 12 kB / 339.6 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.2119, allocations: 0.4973 MB / 340.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008992/0.2128, allocations: 341.2 kB / 340.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007096/0.2199, allocations: 8.067 MB / 348.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.2209, allocations: 131.9 kB / 348.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.221, allocations: 72 kB / 348.7 MB, free: 3.062 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.0006529/0.2217, allocations: 283 kB / 349 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/0.222, allocations: 262.7 kB / 349.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/0.2247, allocations: 1.538 MB / 350.7 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.2247, allocations: 16 kB / 350.8 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.2247, allocations: 8 kB / 350.8 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.2248, allocations: 7.969 kB / 350.8 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006328/0.2311, allocations: 3.947 MB / 354.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.2311, allocations: 0 / 354.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006009/0.2317, allocations: 198.8 kB / 354.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.2332, allocations: 0.5439 MB / 355.5 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.2333, allocations: 43.97 kB / 355.5 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007545/0.2408, allocations: 9.812 MB / 365.3 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.2409, allocations: 7.375 kB / 365.3 MB, free: 1.934 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.2443, allocations: 2.117 MB / 367.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007047/0.245, allocations: 402.5 kB / 367.8 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.2452, allocations: 36 kB / 367.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006573/0.2458, allocations: 99.89 kB / 368 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/0.2462, allocations: 188.3 kB / 368.2 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.113e-05/0.2463, allocations: 47.98 kB / 368.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001158/0.2474, allocations: 0.8655 MB / 369.1 MB, free: 14.15 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2474, allocations: 4 kB / 369.1 MB, free: 14.15 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001798/0.2492, allocations: 0.6289 MB / 369.7 MB, free: 13.52 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003495/0.2496, allocations: 212.2 kB / 369.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002729/0.2523, allocations: 1.967 MB / 371.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2523, allocations: 4 kB / 371.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001828/0.2541, allocations: 1.635 MB / 373.5 MB, free: 9.637 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.2558, allocations: 0.5364 MB / 374 MB, free: 9.125 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006529/0.2623, allocations: 4.726 MB / 378.8 MB, free: 4.336 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007116/0.2631, allocations: 0.7495 MB / 379.5 MB, free: 3.559 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007933/0.2639, allocations: 352.6 kB / 379.9 MB, free: 3.211 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/0.2642, allocations: 132.5 kB / 380 MB, free: 3.082 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2642, allocations: 0 / 380 MB, free: 3.082 MB / 330.7 MB Notification: Performance of Templates: time 0.04088/0.3051, allocations: 37.92 MB / 417.9 MB, free: 13.67 MB / 378.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: 4.132780744228512]