Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 115.1 kB / 18.45 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 254.8 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 47.92 kB / 374.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1085, allocations: 53.34 MB / 427.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.2337/0.3422, allocations: 10.39 MB / 437.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0063/0.3485, allocations: 3.286 MB / 441.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0021/0.3506, allocations: 68.66 kB / 441.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002247/0.3529, allocations: 0.742 MB / 442 MB, free: 3.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.3563, allocations: 0.9197 MB / 442.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.3576, allocations: 417.8 kB / 443.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004751/0.3624, allocations: 3.417 MB / 446.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002734/0.3651, allocations: 1.876 MB / 448.6 MB, free: 280 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003056/0.3681, allocations: 1.568 MB / 450.2 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004026/0.3722, allocations: 1.9 MB / 452.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001156/0.3733, allocations: 397.6 kB / 452.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.3752, allocations: 498.3 kB / 452.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001553/0.3768, allocations: 1.119 MB / 454.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003725/0.3805, allocations: 1.783 MB / 455.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00841/0.3889, allocations: 5.251 MB / 461.1 MB, free: 9.766 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.3889, allocations: 1.125 kB / 461.1 MB, free: 9.766 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3889, allocations: 0 / 461.1 MB, free: 9.766 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001861/0.3891, allocations: 3.25 kB / 461.1 MB, free: 9.766 MB / 366.1 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.01019/0.3993, allocations: 3.617 MB / 464.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3993, allocations: 9.031 kB / 464.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.4009, allocations: 411 kB / 465.1 MB, free: 7.055 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00427/0.4051, allocations: 1.948 MB / 467.1 MB, free: 5.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.4053, allocations: 203.1 kB / 467.3 MB, free: 5.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005629/0.4059, allocations: 255.6 kB / 467.5 MB, free: 5.504 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006757/0.4127, allocations: 3.537 MB / 471.1 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.411e-05/0.4127, allocations: 7.172 kB / 471.1 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/0.413, allocations: 102.4 kB / 471.2 MB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.4131, allocations: 121.6 kB / 471.3 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005785/0.4189, allocations: 3.097 MB / 474.4 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01898/0.4379, allocations: 10.77 MB / 485.1 MB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/0.4418, allocations: 2.952 MB / 488.1 MB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002326/0.4441, allocations: 1.3 MB / 489.4 MB, free: 1.875 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003111/0.4444, allocations: 118.4 kB / 489.5 MB, free: 1.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001862/0.4463, allocations: 1.157 MB / 490.7 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 3.176e-06/0.4463, allocations: 0 / 490.7 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of matching and sorting (n=172): time 0.02172/0.468, allocations: 8.907 MB / 499.6 MB, free: 7.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/0.4681, allocations: 176.2 kB / 499.7 MB, free: 7.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/0.4711, allocations: 1.848 MB / 0.4898 GB, free: 5.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002112/0.4713, allocations: 61.69 kB / 0.4899 GB, free: 5.375 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.4726, allocations: 1.23 MB / 0.4911 GB, free: 4.133 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006702/0.4733, allocations: 0.5888 MB / 0.4917 GB, free: 3.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006344/0.4739, allocations: 351.5 kB / 0.492 GB, free: 3.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4741, allocations: 305.1 kB / 0.4923 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.4758, allocations: 0.9994 MB / 0.4933 GB, free: 1.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/0.4779, allocations: 1.438 MB / 0.4947 GB, free: 296 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/0.4817, allocations: 2.45 MB / 0.4971 GB, free: 13.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.4817, allocations: 4 kB / 0.4971 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006286/0.488, allocations: 3.32 MB / 0.5003 GB, free: 10.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.488, allocations: 12 kB / 0.5003 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.4881, allocations: 13.12 kB / 0.5003 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002234/0.4903, allocations: 0.8882 MB / 0.5012 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.4917, allocations: 335.4 kB / 0.5015 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/0.5049, allocations: 10.44 MB / 0.5117 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/0.5071, allocations: 127.9 kB / 0.5118 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.5073, allocations: 68 kB / 0.5119 GB, free: 14.05 MB / 430.1 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.001969/0.5093, allocations: 0.9214 MB / 0.5128 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005706/0.5099, allocations: 218.6 kB / 0.513 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005895/0.5158, allocations: 3.099 MB / 0.516 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.5158, allocations: 16 kB / 0.5161 GB, free: 9.758 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/0.5158, allocations: 8 kB / 0.5161 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.5158, allocations: 7.969 kB / 0.5161 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/0.5278, allocations: 6.202 MB / 0.5221 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.5278, allocations: 4 kB / 0.5221 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009858/0.5287, allocations: 211.7 kB / 0.5223 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002571/0.5313, allocations: 0.9215 MB / 0.5232 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/0.5315, allocations: 43.92 kB / 0.5233 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01459/0.5461, allocations: 12.04 MB / 0.535 GB, free: 5.641 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/0.5461, allocations: 4.188 kB / 0.535 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008188/0.5543, allocations: 4.492 MB / 0.5394 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/0.5558, allocations: 0.5034 MB / 0.5399 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003337/0.5561, allocations: 39.98 kB / 0.54 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.5572, allocations: 107.9 kB / 0.5401 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005498/0.5577, allocations: 192.9 kB / 0.5402 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001221/0.5579, allocations: 47.98 kB / 0.5403 GB, free: 188 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002227/0.5601, allocations: 1.275 MB / 0.5415 GB, free: 14.92 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5601, allocations: 0 / 0.5415 GB, free: 14.92 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002579/0.5627, allocations: 0.6367 MB / 0.5422 GB, free: 14.28 MB / 462.1 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.0005006/0.5632, allocations: 213.1 kB / 0.5424 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005605/0.5688, allocations: 3.144 MB / 0.5454 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.5688, allocations: 4.625 kB / 0.5454 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003661/0.5724, allocations: 2.12 MB / 0.5475 GB, free: 8.633 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/0.5755, allocations: 0.5838 MB / 0.5481 GB, free: 8.062 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.5863, allocations: 5.8 MB / 0.5537 GB, free: 2.199 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002332/0.5886, allocations: 2.157 MB / 0.5558 GB, free: 4 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008442/0.5894, allocations: 147.4 kB / 0.556 GB, free: 15.86 MB / 478.1 MB Notification: Performance of SimCode: time 1.163e-06/0.5894, allocations: 0 / 0.556 GB, free: 15.86 MB / 478.1 MB Notification: Performance of Templates: time 0.3388/0.9283, allocations: 103.7 MB / 0.6572 GB, free: 150.9 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 15.593134968017694]