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.001427/0.001427, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001863/0.001863, allocations: 160.5 kB / 24.55 MB, free: 20 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.004/1.004, allocations: 177 MB / 204.8 MB, free: 5.586 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.372e-06/1.372e-06, allocations: 0 / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.027e-05, allocations: 2.312 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.009168/0.009199, allocations: 10.31 MB / 283.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006887/0.01609, allocations: 3.248 MB / 286.5 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.01854, allocations: 71.56 kB / 286.6 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.02048, allocations: 0.6946 MB / 287.2 MB, free: 3.039 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002971/0.02345, allocations: 0.9701 MB / 288.2 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.02452, allocations: 427.4 kB / 288.6 MB, free: 1.645 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1406/0.1651, allocations: 3.554 MB / 292.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.1668, allocations: 1.375 MB / 293.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003412/0.1702, allocations: 2.445 MB / 296 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.1732, allocations: 1.731 MB / 297.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.1744, allocations: 388 kB / 298.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.1755, allocations: 484.2 kB / 298.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008997/0.1764, allocations: 1.133 MB / 299.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.1781, allocations: 1.219 MB / 300.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003501/0.1816, allocations: 2.906 MB / 303.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1816, allocations: 0.6562 kB / 303.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1816, allocations: 1.781 kB / 303.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001242/0.1818, allocations: 0 / 303.9 MB, free: 13.03 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.003995/0.1858, allocations: 3.704 MB / 307.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1858, allocations: 10.06 kB / 307.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008007/0.1866, allocations: 0.5887 MB / 308.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.1882, allocations: 1.799 MB / 310 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.664e-05/0.1883, allocations: 191.1 kB / 310.1 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002132/0.1885, allocations: 258.2 kB / 310.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/0.1907, allocations: 2.143 MB / 312.5 MB, free: 7.867 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.267e-05/0.1907, allocations: 4 kB / 312.5 MB, free: 7.863 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.1909, allocations: 102 kB / 312.6 MB, free: 7.766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.925e-05/0.191, allocations: 120.5 kB / 312.8 MB, free: 7.648 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/0.1925, allocations: 0.9718 MB / 313.7 MB, free: 6.672 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006739/0.1992, allocations: 9.011 MB / 322.7 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.2007, allocations: 1.224 MB / 324 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000855/0.2015, allocations: 0.6226 MB / 324.6 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.2017, allocations: 57.91 kB / 324.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007667/0.2025, allocations: 0.7234 MB / 325.4 MB, free: 10.98 MB / 282.7 MB Notification: Performance of pre-optimization done (n=155): time 2.505e-06/0.2025, allocations: 0 / 325.4 MB, free: 10.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=171): time 0.008382/0.2109, allocations: 4.678 MB / 330 MB, free: 6.301 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/0.2109, allocations: 180.2 kB / 330.2 MB, free: 6.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.2124, allocations: 1.531 MB / 331.8 MB, free: 4.543 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.474e-05/0.2125, allocations: 55.67 kB / 331.8 MB, free: 4.484 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000817/0.2133, allocations: 1.325 MB / 333.1 MB, free: 3.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003644/0.2137, allocations: 0.5961 MB / 333.7 MB, free: 2.566 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003981/0.2141, allocations: 381.1 kB / 334.1 MB, free: 2.184 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.2142, allocations: 476.8 kB / 334.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.2147, allocations: 303.7 kB / 334.9 MB, free: 1.418 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008168/0.2155, allocations: 1.01 MB / 335.9 MB, free: 160 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.2174, allocations: 1.724 MB / 337.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.2174, allocations: 4 kB / 337.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.002461/0.2199, allocations: 1.752 MB / 339.4 MB, free: 12.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.2199, allocations: 12.66 kB / 339.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.2199, allocations: 12 kB / 339.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.221, allocations: 0.4954 MB / 339.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.2217, allocations: 327.5 kB / 340.2 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005655/0.2274, allocations: 8.062 MB / 348.3 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007493/0.2281, allocations: 123.9 kB / 348.4 MB, free: 3.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.17e-05/0.2282, allocations: 68 kB / 348.4 MB, free: 3.18 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.0006027/0.2288, allocations: 289.1 kB / 348.7 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.229, allocations: 262.7 kB / 349 MB, free: 2.648 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.2311, allocations: 1.534 MB / 350.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.2311, allocations: 19.98 kB / 350.5 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.2311, allocations: 8 kB / 350.5 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.2311, allocations: 7.969 kB / 350.6 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004818/0.2359, allocations: 3.906 MB / 354.5 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.2359, allocations: 4 kB / 354.5 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004401/0.2364, allocations: 190.3 kB / 354.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.2375, allocations: 0.5421 MB / 355.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.104e-05/0.2376, allocations: 35.98 kB / 355.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005818/0.2434, allocations: 9.738 MB / 365 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2434, allocations: 0 / 365 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.2461, allocations: 2.116 MB / 367.1 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005084/0.2466, allocations: 380.6 kB / 367.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.2467, allocations: 44.05 kB / 367.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/0.2472, allocations: 91.91 kB / 367.6 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/0.2475, allocations: 192.4 kB / 367.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.2475, allocations: 43.98 kB / 367.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008521/0.2484, allocations: 0.8616 MB / 368.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2484, allocations: 0 / 368.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001399/0.2498, allocations: 0.6249 MB / 369.3 MB, free: 13.8 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%), (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.0003066/0.2501, allocations: 214 kB / 369.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002242/0.2523, allocations: 1.962 MB / 371.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.2524, allocations: 7.984 kB / 371.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.2539, allocations: 1.601 MB / 373.1 MB, free: 9.961 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.2556, allocations: 0.5465 MB / 373.6 MB, free: 9.445 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005862/0.2614, allocations: 4.699 MB / 378.3 MB, free: 4.668 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.262, allocations: 0.7456 MB / 379.1 MB, free: 3.895 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006565/0.2627, allocations: 352.6 kB / 379.4 MB, free: 3.547 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.263, allocations: 128.5 kB / 379.5 MB, free: 3.422 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.263, allocations: 0 / 379.5 MB, free: 3.422 MB / 330.7 MB Notification: Performance of Templates: time 0.05077/0.3137, allocations: 38.86 MB / 418.4 MB, free: 13.08 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.115991113707423]