Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.001854/0.001854, allocations: 78.45 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00216/0.00216, allocations: 155.5 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.44/1.44, allocations: 173.3 MB / 200.4 MB, free: 12.85 MB / 190.1 MB " [Timeout remaining time 178] 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_Transformer,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.517e-05, allocations: 9.031 kB / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01303/0.01305, allocations: 11.28 MB / 330.2 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00885/0.0219, allocations: 3.974 MB / 334.2 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/0.02389, allocations: 98.91 kB / 334.3 MB, free: 9.211 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002509/0.0264, allocations: 0.9699 MB / 335.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003995/0.0304, allocations: 1.283 MB / 336.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.03188, allocations: 0.5118 MB / 337.1 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007202/0.03908, allocations: 4.808 MB / 341.9 MB, free: 4.141 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003414/0.04249, allocations: 2.01 MB / 343.9 MB, free: 2.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006645/0.04914, allocations: 3.165 MB / 347 MB, free: 15.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004531/0.05367, allocations: 2.291 MB / 349.3 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001262/0.05493, allocations: 0.5508 MB / 349.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/0.05679, allocations: 0.6366 MB / 350.5 MB, free: 11.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001723/0.05851, allocations: 1.585 MB / 352.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003284/0.06179, allocations: 1.723 MB / 353.8 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.07199, allocations: 7.533 MB / 361.4 MB, free: 1.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.072, allocations: 4 kB / 361.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.072, allocations: 0 / 361.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002747/0.07227, allocations: 0 / 361.4 MB, free: 1.055 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01112/0.08339, allocations: 4.682 MB / 366 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.08343, allocations: 16.92 kB / 366.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.0848, allocations: 0.5136 MB / 366.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005186/0.08999, allocations: 2.512 MB / 369.1 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/0.09023, allocations: 271.4 kB / 369.4 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006432/0.09088, allocations: 360.2 kB / 369.7 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009648/0.1005, allocations: 5.28 MB / 375 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.207e-05/0.1006, allocations: 7.953 kB / 375 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003791/0.101, allocations: 148 kB / 375.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/0.1012, allocations: 183 kB / 375.3 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00837/0.1096, allocations: 4.294 MB / 379.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02637/0.1359, allocations: 12.85 MB / 392.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004933/0.1409, allocations: 2.684 MB / 395.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003801/0.1447, allocations: 1.874 MB / 397 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003027/0.145, allocations: 50.53 kB / 397.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.586e-05/0.145, allocations: 64.5 kB / 397.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=198): time 4.528e-06/0.1451, allocations: 0 / 397.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=218): time 0.02361/0.1687, allocations: 9.585 MB / 406.7 MB, free: 3.172 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/0.1687, allocations: 73.41 kB / 406.8 MB, free: 3.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004473/0.1732, allocations: 2.182 MB / 409 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002718/0.1735, allocations: 65.7 kB / 409 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001421/0.1749, allocations: 1.66 MB / 410.7 MB, free: 15.12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008388/0.1757, allocations: 0.7514 MB / 411.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008996/0.1766, allocations: 416.4 kB / 411.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.1768, allocations: 313 kB / 412.2 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/0.1791, allocations: 1.305 MB / 413.5 MB, free: 12.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002692/0.1818, allocations: 1.767 MB / 415.2 MB, free: 10.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005339/0.1871, allocations: 3.219 MB / 418.5 MB, free: 6.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/0.1871, allocations: 7.938 kB / 418.5 MB, free: 6.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008475/0.1956, allocations: 4.033 MB / 422.5 MB, free: 2.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/0.1956, allocations: 15.98 kB / 422.5 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.99e-05/0.1957, allocations: 12.47 kB / 422.5 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003217/0.1989, allocations: 0.8789 MB / 423.4 MB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/0.2012, allocations: 0.5304 MB / 423.9 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/0.2135, allocations: 9.005 MB / 432.9 MB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00277/0.2163, allocations: 123.9 kB / 433.1 MB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004896/0.2168, allocations: 80 kB / 433.1 MB, free: 7.965 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * 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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003078/0.2199, allocations: 1.215 MB / 434.4 MB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/0.2209, allocations: 262.3 kB / 434.6 MB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008515/0.2294, allocations: 3.673 MB / 438.3 MB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.509e-05/0.2295, allocations: 24 kB / 438.3 MB, free: 2.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-05/0.2295, allocations: 8 kB / 438.3 MB, free: 2.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.271e-05/0.2295, allocations: 16.05 kB / 438.3 MB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01854/0.2481, allocations: 7.093 MB / 445.4 MB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/0.2481, allocations: 4 kB / 445.4 MB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/0.25, allocations: 387.8 kB / 445.8 MB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003744/0.2538, allocations: 0.929 MB / 446.7 MB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000265/0.254, allocations: 55.97 kB / 446.8 MB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01508/0.2691, allocations: 10.48 MB / 457.3 MB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.848e-06/0.2691, allocations: 8 kB / 457.3 MB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/0.281, allocations: 5.473 MB / 462.7 MB, free: 9.711 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002094/0.2831, allocations: 0.5372 MB / 463.3 MB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009674/0.284, allocations: 51.98 kB / 463.3 MB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/0.2859, allocations: 119.9 kB / 463.5 MB, free: 9.004 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005974/0.2865, allocations: 189.6 kB / 463.6 MB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002021/0.2867, allocations: 59.98 kB / 463.7 MB, free: 8.762 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003241/0.29, allocations: 1.481 MB / 465.2 MB, free: 7.262 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.29, allocations: 0 / 465.2 MB, free: 7.262 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003282/0.2933, allocations: 0.8007 MB / 466 MB, free: 6.461 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (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.0007945/0.2941, allocations: 237 kB / 466.2 MB, free: 6.227 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00721/0.3013, allocations: 3.609 MB / 469.8 MB, free: 2.574 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.3013, allocations: 3.938 kB / 469.8 MB, free: 2.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004534/0.3058, allocations: 2.314 MB / 472.1 MB, free: 208 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1722/0.478, allocations: 0.6201 MB / 472.8 MB, free: 129.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.4914, allocations: 7.604 MB / 480.4 MB, free: 127.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003167/0.4945, allocations: 2.232 MB / 482.6 MB, free: 127.1 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002225/0.4968, allocations: 0.6408 MB / 483.2 MB, free: 127 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006198/0.4974, allocations: 168.5 kB / 483.4 MB, free: 127 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4974, allocations: 3.844 kB / 483.4 MB, free: 127 MB / 430.1 MB Notification: Performance of Templates: time 0.06395/0.5613, allocations: 40.13 MB / 0.5113 GB, free: 97.59 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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: 7.583650127053261]