Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001786/0.001786, allocations: 116.1 kB / 21.18 MB, free: 0.7422 MB / 14.72 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.002248/0.002248, allocations: 214.8 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.424/1.424, allocations: 230.4 MB / 258.1 MB, free: 8.129 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-beta.om/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.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-beta.om_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-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 71.83 kB / 378.8 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.217, allocations: 53.31 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD): time 0.01264/0.2297, allocations: 10.42 MB / 442.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006402/0.2361, allocations: 3.291 MB / 445.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.2372, allocations: 59.69 kB / 445.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.2388, allocations: 0.7415 MB / 446.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.241, allocations: 0.9283 MB / 447.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008253/0.2418, allocations: 419.4 kB / 447.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003617/0.2454, allocations: 3.416 MB / 451.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.2473, allocations: 1.42 MB / 452.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001805/0.2491, allocations: 1.538 MB / 454.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002391/0.2515, allocations: 1.892 MB / 456.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005081/0.252, allocations: 396 kB / 456.6 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008329/0.2528, allocations: 0.4998 MB / 457.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.254, allocations: 1.118 MB / 458.2 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001856/0.2558, allocations: 1.777 MB / 460 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005453/0.2613, allocations: 5.247 MB / 465.2 MB, free: 6.039 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.2613, allocations: 0 / 465.2 MB, free: 6.039 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2613, allocations: 4 kB / 465.2 MB, free: 6.035 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.159e-05/0.2613, allocations: 0 / 465.2 MB, free: 6.035 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.006869/0.2682, allocations: 3.622 MB / 468.8 MB, free: 2.344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.2682, allocations: 12.03 kB / 468.9 MB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.2694, allocations: 410.6 kB / 469.3 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003615/0.273, allocations: 1.943 MB / 471.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.2732, allocations: 208.9 kB / 471.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003935/0.2735, allocations: 252 kB / 471.7 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005873/0.2794, allocations: 3.531 MB / 475.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.396e-05/0.2795, allocations: 7.891 kB / 475.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000249/0.2797, allocations: 108 kB / 475.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.2799, allocations: 112.9 kB / 475.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005486/0.2853, allocations: 3.091 MB / 478.5 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0182/0.3035, allocations: 10.76 MB / 489.3 MB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003745/0.3073, allocations: 2.953 MB / 492.2 MB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002281/0.3096, allocations: 1.306 MB / 493.5 MB, free: 9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002532/0.3098, allocations: 122.4 kB / 493.6 MB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001803/0.3116, allocations: 1.156 MB / 494.8 MB, free: 7.68 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 3.466e-06/0.3116, allocations: 0 / 494.8 MB, free: 7.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=172): time 0.0204/0.332, allocations: 8.9 MB / 0.4919 GB, free: 14.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.3321, allocations: 184.2 kB / 0.4921 GB, free: 14.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/0.335, allocations: 1.848 MB / 0.4939 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.3351, allocations: 57.7 kB / 0.4939 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.3364, allocations: 1.23 MB / 0.4951 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005591/0.3369, allocations: 0.5849 MB / 0.4957 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006143/0.3375, allocations: 359.4 kB / 0.496 GB, free: 10.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3377, allocations: 301.1 kB / 0.4963 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.3394, allocations: 1.007 MB / 0.4973 GB, free: 9.008 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/0.3416, allocations: 1.43 MB / 0.4987 GB, free: 7.418 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003857/0.3455, allocations: 2.454 MB / 0.5011 GB, free: 4.816 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.3455, allocations: 0 / 0.5011 GB, free: 4.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006084/0.3515, allocations: 3.327 MB / 0.5044 GB, free: 1.465 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3516, allocations: 8 kB / 0.5044 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.3516, allocations: 12 kB / 0.5044 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/0.3537, allocations: 0.8884 MB / 0.5052 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.355, allocations: 335.5 kB / 0.5056 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.3684, allocations: 10.43 MB / 0.5158 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.37, allocations: 131.9 kB / 0.5159 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.3701, allocations: 72 kB / 0.5159 GB, free: 5.164 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.001618/0.3717, allocations: 0.9214 MB / 0.5168 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003557/0.3721, allocations: 218.6 kB / 0.5171 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005704/0.3778, allocations: 3.103 MB / 0.5201 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.3778, allocations: 7.969 kB / 0.5201 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.3778, allocations: 0 / 0.5201 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/0.379, allocations: 0.5034 MB / 0.5206 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002818/0.3793, allocations: 39.98 kB / 0.5206 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009845/0.3802, allocations: 107.9 kB / 0.5207 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004089/0.3807, allocations: 209.7 kB / 0.5209 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006963/0.3876, allocations: 3.278 MB / 0.5241 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005995/0.3936, allocations: 3.874 MB / 0.5279 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001714/0.3953, allocations: 1.093 MB / 0.529 GB, free: 7.707 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001997/0.3973, allocations: 1.267 MB / 0.5302 GB, free: 6.449 MB / 446.1 MB Notification: Performance of Backend: time 2.71e-07/0.3973, allocations: 3.938 kB / 0.5302 GB, free: 6.445 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00488/0.4022, allocations: 2.397 MB / 0.5326 GB, free: 3.949 MB / 446.1 MB Notification: Performance of SimCode: time 0.1806/0.5828, allocations: 6.236 MB / 0.5386 GB, free: 101.5 MB / 446.1 MB Notification: Performance of Templates: time 0.05071/0.6335, allocations: 40.03 MB / 0.5777 GB, free: 71.43 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 20.50532848527655]