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.001127/0.001127, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.007184/0.007184, allocations: 139.7 kB / 24.97 MB, free: 8.363 MB / 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 0.9246/0.9246, allocations: 173.4 MB / 201.5 MB, free: 9.309 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.613e-06/1.613e-06, allocations: 0 / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.719e-05, allocations: 9.906 kB / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.02364/0.02366, allocations: 10.21 MB / 278.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008454/0.03212, allocations: 3.155 MB / 281.4 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004002/0.03612, allocations: 67.56 kB / 281.5 MB, free: 9.223 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.03754, allocations: 0.6945 MB / 282.2 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004663/0.0422, allocations: 0.9586 MB / 283.2 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005798/0.04278, allocations: 419.4 kB / 283.6 MB, free: 7.148 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005752/0.04853, allocations: 3.516 MB / 287.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.05042, allocations: 1.385 MB / 288.5 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1285/0.1789, allocations: 2.268 MB / 290.7 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003415/0.1823, allocations: 1.779 MB / 292.5 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001299/0.1836, allocations: 398.1 kB / 292.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.1851, allocations: 483 kB / 293.4 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001151/0.1862, allocations: 1.166 MB / 294.6 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00301/0.1893, allocations: 1.235 MB / 295.8 MB, free: 16.55 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004652/0.1939, allocations: 2.941 MB / 298.7 MB, free: 16.31 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1939, allocations: 0 / 298.7 MB, free: 16.31 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1939, allocations: 1.219 kB / 298.7 MB, free: 16.31 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001213/0.194, allocations: 1.656 kB / 298.7 MB, free: 16.31 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.006443/0.2005, allocations: 3.731 MB / 302.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.2005, allocations: 10.8 kB / 302.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.2017, allocations: 0.5641 MB / 303 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002522/0.2042, allocations: 1.759 MB / 304.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.2043, allocations: 197.5 kB / 305 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003028/0.2046, allocations: 254.4 kB / 305.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003375/0.208, allocations: 2.144 MB / 307.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002844/0.2083, allocations: 14.89 kB / 307.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002498/0.2085, allocations: 104.5 kB / 307.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001109/0.2086, allocations: 111.3 kB / 307.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.2111, allocations: 0.9839 MB / 308.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/0.2212, allocations: 9.097 MB / 317.7 MB, free: 6.051 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.2227, allocations: 1.205 MB / 318.9 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009628/0.2237, allocations: 0.6354 MB / 319.5 MB, free: 4.238 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/0.2238, allocations: 60.84 kB / 319.6 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000814/0.2246, allocations: 0.7287 MB / 320.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=156): time 3.898e-06/0.2246, allocations: 0 / 320.3 MB, free: 3.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=172): time 0.01004/0.2347, allocations: 4.758 MB / 325.1 MB, free: 14.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.2348, allocations: 184 kB / 325.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/0.2368, allocations: 1.505 MB / 326.8 MB, free: 12.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.2369, allocations: 53.7 kB / 326.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.2379, allocations: 1.302 MB / 328.1 MB, free: 11.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004604/0.2384, allocations: 0.6017 MB / 328.7 MB, free: 10.94 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005074/0.2389, allocations: 373.1 kB / 329.1 MB, free: 10.57 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.239, allocations: 480.7 kB / 329.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006787/0.2397, allocations: 298.3 kB / 329.8 MB, free: 9.805 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.2407, allocations: 0.9782 MB / 330.8 MB, free: 8.586 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.2423, allocations: 1.272 MB / 332.1 MB, free: 7.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-06/0.2423, allocations: 4 kB / 332.1 MB, free: 7.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006244/0.2486, allocations: 1.738 MB / 333.8 MB, free: 5.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.2486, allocations: 12 kB / 333.8 MB, free: 5.469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/0.2486, allocations: 8 kB / 333.9 MB, free: 5.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.2501, allocations: 0.4958 MB / 334.3 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003972/0.254, allocations: 337.8 kB / 334.7 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0135/0.2675, allocations: 8.063 MB / 342.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004691/0.2722, allocations: 127.9 kB / 342.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003152/0.2725, allocations: 71.98 kB / 342.9 MB, free: 12.07 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.001006/0.2735, allocations: 286 kB / 343.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004598/0.274, allocations: 262.7 kB / 343.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005947/0.2799, allocations: 1.54 MB / 345 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.605e-05/0.28, allocations: 16 kB / 345 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.488e-05/0.28, allocations: 8 kB / 345 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.28, allocations: 11.97 kB / 345 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02283/0.3028, allocations: 3.934 MB / 349 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.739e-06/0.3028, allocations: 7.938 kB / 349 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005704/0.3034, allocations: 208.5 kB / 349.2 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/0.3049, allocations: 0.5535 MB / 349.7 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.305, allocations: 39.98 kB / 349.8 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006639/0.3116, allocations: 9.829 MB / 359.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.3116, allocations: 8.031 kB / 359.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003183/0.3148, allocations: 2.118 MB / 361.7 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007612/0.3156, allocations: 394.5 kB / 362.1 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.3158, allocations: 39.98 kB / 362.2 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005607/0.3163, allocations: 103.9 kB / 362.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003625/0.3167, allocations: 192.5 kB / 362.5 MB, free: 8.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.691e-05/0.3168, allocations: 47.98 kB / 362.5 MB, free: 7.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001137/0.3179, allocations: 0.8488 MB / 363.3 MB, free: 7.137 MB / 314.7 MB Notification: Performance of sort global known variables: time 3e-07/0.3179, allocations: 0 / 363.3 MB, free: 7.137 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001736/0.3196, allocations: 0.6289 MB / 364 MB, free: 6.508 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%), (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.0003628/0.32, allocations: 213.5 kB / 364.2 MB, free: 6.301 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002704/0.3227, allocations: 1.957 MB / 366.1 MB, free: 4.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.3227, allocations: 0 / 366.1 MB, free: 4.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.3245, allocations: 1.646 MB / 367.8 MB, free: 2.629 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.3262, allocations: 0.5495 MB / 368.3 MB, free: 2.098 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007177/0.3334, allocations: 4.73 MB / 373.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006673/0.3341, allocations: 0.7607 MB / 373.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009002/0.335, allocations: 344.5 kB / 374.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.3353, allocations: 124.5 kB / 374.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3353, allocations: 0 / 374.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of Templates: time 0.04341/0.3787, allocations: 37.79 MB / 412.1 MB, free: 6.812 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.9237554371356964]