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.001371/0.001371, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001584/0.001584, allocations: 207.5 kB / 24.48 MB, free: 3.695 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.503/1.503, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.001479/0.001479, allocations: 48.05 kB / 379 MB, free: 2.555 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2732, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01475/0.2879, allocations: 9.15 MB / 441.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009004/0.2969, allocations: 3.101 MB / 444.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/0.2991, allocations: 71.56 kB / 444.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002827/0.302, allocations: 0.685 MB / 445.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004337/0.3063, allocations: 0.9361 MB / 446.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.308, allocations: 427.4 kB / 446.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006906/0.3149, allocations: 3.412 MB / 450.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/0.3184, allocations: 1.42 MB / 451.5 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003723/0.3221, allocations: 1.573 MB / 453.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005108/0.3273, allocations: 1.907 MB / 455 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001316/0.3286, allocations: 396 kB / 455.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.3306, allocations: 0.4919 MB / 455.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002241/0.3328, allocations: 1.122 MB / 457 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004012/0.3368, allocations: 1.428 MB / 458.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.3472, allocations: 5.282 MB / 463.7 MB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3472, allocations: 0 / 463.7 MB, free: 7.188 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3472, allocations: 0 / 463.7 MB, free: 7.188 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002008/0.3474, allocations: 4 kB / 463.7 MB, free: 7.184 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.01336/0.3608, allocations: 3.554 MB / 467.3 MB, free: 3.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.3608, allocations: 12.03 kB / 467.3 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.3627, allocations: 402.7 kB / 467.7 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006423/0.3691, allocations: 1.871 MB / 469.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/0.3694, allocations: 212.9 kB / 469.8 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007532/0.3702, allocations: 252 kB / 470 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/0.3804, allocations: 3.628 MB / 473.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001101/0.3805, allocations: 11.89 kB / 473.6 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004214/0.3809, allocations: 104 kB / 473.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/0.3811, allocations: 112.9 kB / 473.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009358/0.3905, allocations: 3.084 MB / 476.9 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02692/0.4174, allocations: 9.445 MB / 486.4 MB, free: 20 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004871/0.4223, allocations: 2.052 MB / 488.4 MB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003454/0.4257, allocations: 1.297 MB / 489.7 MB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003083/0.426, allocations: 53.28 kB / 489.8 MB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002927/0.4289, allocations: 1.249 MB / 491 MB, free: 11.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 5.921e-06/0.4289, allocations: 0 / 491 MB, free: 11.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=172): time 0.03129/0.4602, allocations: 8.428 MB / 499.5 MB, free: 2.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/0.4604, allocations: 184.2 kB / 499.6 MB, free: 2.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003852/0.4643, allocations: 1.72 MB / 0.4896 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003819/0.4646, allocations: 57.69 kB / 0.4897 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001477/0.4661, allocations: 1.229 MB / 0.4909 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008206/0.4669, allocations: 0.581 MB / 0.4914 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000759/0.4677, allocations: 351.5 kB / 0.4918 GB, free: 14.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.4679, allocations: 305.1 kB / 0.4921 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/0.4701, allocations: 0.9994 MB / 0.493 GB, free: 13.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002739/0.4728, allocations: 1.538 MB / 0.4945 GB, free: 11.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004855/0.4777, allocations: 2.45 MB / 0.4969 GB, free: 9.047 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/0.4777, allocations: 4 kB / 0.4969 GB, free: 9.043 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.008043/0.4857, allocations: 3.308 MB / 0.5002 GB, free: 5.711 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.4858, allocations: 12 kB / 0.5002 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.169e-05/0.4858, allocations: 15.94 kB / 0.5002 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003098/0.4889, allocations: 0.8802 MB / 0.5011 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001933/0.4908, allocations: 339.4 kB / 0.5014 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01346/0.5043, allocations: 9.936 MB / 0.5111 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.506, allocations: 139.8 kB / 0.5112 GB, free: 10.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.5062, allocations: 71.98 kB / 0.5113 GB, free: 10.01 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.001813/0.508, allocations: 0.9369 MB / 0.5122 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005124/0.5086, allocations: 202.7 kB / 0.5124 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006003/0.5146, allocations: 3.083 MB / 0.5154 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.5146, allocations: 16 kB / 0.5154 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/0.5146, allocations: 11.94 kB / 0.5154 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.5146, allocations: 7.969 kB / 0.5154 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.527, allocations: 5.552 MB / 0.5209 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.527, allocations: 7.938 kB / 0.5209 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009965/0.528, allocations: 207.7 kB / 0.5211 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002573/0.5305, allocations: 0.9332 MB / 0.522 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/0.5307, allocations: 39.98 kB / 0.522 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01466/0.5454, allocations: 11.41 MB / 0.5332 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5454, allocations: 0 / 0.5332 GB, free: 3.062 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.239/0.7844, allocations: 4.485 MB / 0.5375 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0017/0.7861, allocations: 426.2 kB / 0.5379 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004705/0.7866, allocations: 41.03 kB / 0.538 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.7877, allocations: 100.6 kB / 0.5381 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005133/0.7882, allocations: 200.3 kB / 0.5383 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.7883, allocations: 49.75 kB / 0.5383 GB, free: 100.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001841/0.7902, allocations: 1.159 MB / 0.5394 GB, free: 100.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7902, allocations: 0 / 0.5394 GB, free: 100.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002392/0.7926, allocations: 0.634 MB / 0.5401 GB, free: 100.1 MB / 446.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.0004413/0.793, allocations: 206 kB / 0.5403 GB, free: 100 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004966/0.798, allocations: 3.013 MB / 0.5432 GB, free: 98.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.798, allocations: 0.75 kB / 0.5432 GB, free: 98.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002825/0.8008, allocations: 2.051 MB / 0.5452 GB, free: 97.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.8032, allocations: 0.5219 MB / 0.5457 GB, free: 97.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008077/0.8113, allocations: 5.795 MB / 0.5514 GB, free: 94.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/0.8126, allocations: 1.608 MB / 0.5529 GB, free: 93.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005844/0.8132, allocations: 135.8 kB / 0.5531 GB, free: 93.55 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.8132, allocations: 0 / 0.5531 GB, free: 93.55 MB / 446.1 MB Notification: Performance of Templates: time 0.0816/0.8948, allocations: 103.6 MB / 0.6542 GB, free: 6.875 MB / 462.1 MB " [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: 14.6947470040177]