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.0008205/0.0008205, allocations: 84 kB / 21.43 MB, free: 3.133 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.004042/0.004042, allocations: 145.5 kB / 24.68 MB, free: 9.414 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.8475/0.8475, allocations: 173.4 MB / 201.2 MB, free: 9.414 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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|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.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|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.814e-06/1.814e-06, allocations: 0 / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.291e-05, allocations: 10.16 kB / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01055/0.01058, allocations: 9.101 MB / 328.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005447/0.01603, allocations: 3.046 MB / 331.9 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007725/0.0168, allocations: 67.56 kB / 331.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.01816, allocations: 0.7063 MB / 332.6 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.02005, allocations: 0.9546 MB / 333.6 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.02063, allocations: 407.4 kB / 334 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002012/0.02264, allocations: 3.516 MB / 337.5 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.02381, allocations: 1.381 MB / 338.9 MB, free: 2.512 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.0254, allocations: 2.242 MB / 341.1 MB, free: 268 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.02677, allocations: 1.664 MB / 342.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002906/0.02706, allocations: 400 kB / 343.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000493/0.02755, allocations: 483.8 kB / 343.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006374/0.02819, allocations: 1.153 MB / 344.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007872/0.02897, allocations: 1.22 MB / 346 MB, free: 11.35 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003141/0.03212, allocations: 5.294 MB / 351.3 MB, free: 6.039 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.03212, allocations: 4 kB / 351.3 MB, free: 6.035 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.03212, allocations: 0 / 351.3 MB, free: 6.035 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.85e-05/0.03215, allocations: 0 / 351.3 MB, free: 6.035 MB / 314.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.00368/0.03583, allocations: 3.511 MB / 354.8 MB, free: 2.477 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.03587, allocations: 8.922 kB / 354.8 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004919/0.03636, allocations: 366.8 kB / 355.2 MB, free: 2.109 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.03831, allocations: 1.866 MB / 357.1 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.03841, allocations: 189.5 kB / 357.2 MB, free: 16 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002683/0.03868, allocations: 256.4 kB / 357.5 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003586/0.04227, allocations: 3.639 MB / 361.1 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.624e-05/0.04231, allocations: 15.81 kB / 361.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.04248, allocations: 108 kB / 361.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.521e-05/0.04256, allocations: 108.9 kB / 361.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003144/0.0457, allocations: 3.095 MB / 364.5 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008651/0.05436, allocations: 9.433 MB / 373.9 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.05623, allocations: 2.038 MB / 375.9 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.05752, allocations: 1.297 MB / 377.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001601/0.05768, allocations: 58.36 kB / 377.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.05879, allocations: 1.245 MB / 378.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=156): time 2.715e-06/0.0588, allocations: 0 / 378.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=172): time 0.01092/0.06972, allocations: 8.438 MB / 387 MB, free: 1.805 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/0.0698, allocations: 176.2 kB / 387.1 MB, free: 1.594 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.07136, allocations: 1.712 MB / 388.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.758e-05/0.07143, allocations: 61.69 kB / 388.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006342/0.07207, allocations: 1.217 MB / 390.1 MB, free: 14.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.07238, allocations: 0.5811 MB / 390.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003375/0.07272, allocations: 347.5 kB / 391 MB, free: 13.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.01e-05/0.07279, allocations: 305.1 kB / 391.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009902/0.07378, allocations: 1.003 MB / 392.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.07505, allocations: 1.535 MB / 393.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002195/0.07724, allocations: 2.454 MB / 396.3 MB, free: 8.023 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.07725, allocations: 4 kB / 396.3 MB, free: 8.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.003439/0.08069, allocations: 3.304 MB / 399.6 MB, free: 4.691 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.08071, allocations: 8 kB / 399.7 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.08072, allocations: 16.03 kB / 399.7 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.08184, allocations: 0.8736 MB / 400.5 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006229/0.08246, allocations: 331.5 kB / 400.9 MB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007368/0.08983, allocations: 9.958 MB / 410.8 MB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007186/0.09055, allocations: 135.9 kB / 411 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.367e-05/0.09063, allocations: 68 kB / 411 MB, free: 8.996 MB / 378.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.001034/0.09167, allocations: 0.9252 MB / 411.9 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.09184, allocations: 202.7 kB / 412.1 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/0.09516, allocations: 3.075 MB / 415.2 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.09517, allocations: 16 kB / 415.2 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.09518, allocations: 12 kB / 415.2 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.09519, allocations: 11.95 kB / 415.3 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005906/0.1011, allocations: 5.56 MB / 420.8 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.1011, allocations: 4 kB / 420.8 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004528/0.1016, allocations: 207.7 kB / 421 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.1028, allocations: 0.9368 MB / 422 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/0.1028, allocations: 43.97 kB / 422 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007628/0.1105, allocations: 11.39 MB / 433.4 MB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1105, allocations: 0 / 433.4 MB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/0.1149, allocations: 4.484 MB / 437.9 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005936/0.1154, allocations: 414.5 kB / 438.3 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.1156, allocations: 43.92 kB / 438.3 MB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004839/0.1161, allocations: 99.88 kB / 438.4 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/0.1164, allocations: 208.8 kB / 438.6 MB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.474e-05/0.1164, allocations: 47.98 kB / 438.7 MB, free: 12.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.1175, allocations: 1.15 MB / 439.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1175, allocations: 0 / 439.8 MB, free: 11.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001245/0.1187, allocations: 0.6328 MB / 440.5 MB, free: 10.94 MB / 410.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.0002816/0.119, allocations: 209.5 kB / 440.7 MB, free: 10.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003105/0.1221, allocations: 3.01 MB / 443.7 MB, free: 7.668 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1221, allocations: 0 / 443.7 MB, free: 7.668 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.1239, allocations: 2.049 MB / 445.7 MB, free: 5.562 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.125, allocations: 0.5116 MB / 446.2 MB, free: 5.055 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1365/0.2615, allocations: 5.608 MB / 451.8 MB, free: 120.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.2628, allocations: 1.583 MB / 453.4 MB, free: 120 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004967/0.2633, allocations: 135.4 kB / 453.6 MB, free: 119.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2633, allocations: 0 / 453.6 MB, free: 119.9 MB / 410.7 MB Notification: Performance of Templates: time 0.04613/0.3094, allocations: 103.1 MB / 0.5436 GB, free: 23.07 MB / 410.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.718116986565292]