Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.001308/0.001308, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001428/0.001428, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 8.012 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_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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 51.92 kB / 379 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2312, allocations: 53.36 MB / 432.4 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.016/0.2472, allocations: 13.01 MB / 445.4 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009022/0.2563, allocations: 4.288 MB / 449.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002828/0.2591, allocations: 103.3 kB / 449.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003736/0.2628, allocations: 1.017 MB / 450.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004521/0.2673, allocations: 1.251 MB / 452.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.2692, allocations: 0.5266 MB / 452.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006756/0.276, allocations: 4.661 MB / 457.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003927/0.2799, allocations: 2.07 MB / 459.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004771/0.2847, allocations: 2.186 MB / 461.5 MB, free: 9.668 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005012/0.2897, allocations: 2.627 MB / 464.1 MB, free: 7.031 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001701/0.2914, allocations: 0.5547 MB / 464.7 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.2938, allocations: 0.66 MB / 465.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002748/0.2966, allocations: 1.535 MB / 466.9 MB, free: 4.277 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005367/0.3019, allocations: 2.489 MB / 469.4 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.3126, allocations: 7.467 MB / 476.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3126, allocations: 0 / 476.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3126, allocations: 4 kB / 476.9 MB, free: 10.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002827/0.3129, allocations: 0 / 476.9 MB, free: 10.28 MB / 382.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.01453/0.3274, allocations: 4.752 MB / 481.6 MB, free: 5.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3275, allocations: 8.031 kB / 481.6 MB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002568/0.33, allocations: 0.5487 MB / 482.2 MB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006283/0.3363, allocations: 2.548 MB / 484.7 MB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/0.3366, allocations: 263.1 kB / 485 MB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/0.3378, allocations: 351.9 kB / 485.3 MB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01264/0.3504, allocations: 5.032 MB / 490.3 MB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.3506, allocations: 7.953 kB / 490.4 MB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009252/0.3515, allocations: 144 kB / 490.5 MB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002315/0.3518, allocations: 183 kB / 490.7 MB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009723/0.3615, allocations: 4.298 MB / 495 MB, free: 7.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02894/0.3904, allocations: 14.59 MB / 0.4976 GB, free: 9.027 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004631/0.395, allocations: 2.694 MB / 0.5003 GB, free: 6.371 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003529/0.3986, allocations: 1.885 MB / 0.5021 GB, free: 4.488 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/0.3989, allocations: 53.95 kB / 0.5021 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/0.3989, allocations: 56.56 kB / 0.5022 GB, free: 4.371 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.298e-06/0.3989, allocations: 0 / 0.5022 GB, free: 4.371 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02123/0.4202, allocations: 9.613 MB / 0.5116 GB, free: 10.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.4202, allocations: 77.39 kB / 0.5117 GB, free: 10.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004773/0.425, allocations: 2.518 MB / 0.5141 GB, free: 8.113 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004059/0.4254, allocations: 61.7 kB / 0.5142 GB, free: 8.047 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.4269, allocations: 1.654 MB / 0.5158 GB, free: 6.375 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009849/0.4279, allocations: 0.7707 MB / 0.5165 GB, free: 5.598 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009622/0.4288, allocations: 424.5 kB / 0.5169 GB, free: 5.176 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.429, allocations: 305.1 kB / 0.5172 GB, free: 4.875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002251/0.4312, allocations: 1.301 MB / 0.5185 GB, free: 3.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002696/0.4339, allocations: 1.774 MB / 0.5202 GB, free: 1.609 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005075/0.439, allocations: 3.219 MB / 0.5234 GB, free: 14.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/0.439, allocations: 3.938 kB / 0.5234 GB, free: 14.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007926/0.4469, allocations: 4.065 MB / 0.5274 GB, free: 10.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.316e-05/0.447, allocations: 16.45 kB / 0.5274 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.52e-05/0.447, allocations: 20 kB / 0.5274 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003003/0.45, allocations: 0.8834 MB / 0.5283 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002418/0.4524, allocations: 0.5227 MB / 0.5288 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2255/0.6779, allocations: 9.168 MB / 0.5377 GB, free: 96.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/0.6806, allocations: 117.6 kB / 0.5378 GB, free: 96.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003786/0.6809, allocations: 84.48 kB / 0.5379 GB, free: 96.12 MB / 446.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.002861/0.6838, allocations: 1.219 MB / 0.5391 GB, free: 96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008152/0.6846, allocations: 287.7 kB / 0.5394 GB, free: 96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00643/0.6911, allocations: 3.698 MB / 0.543 GB, free: 95.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/0.6911, allocations: 29.81 kB / 0.543 GB, free: 95.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.148e-05/0.6911, allocations: 8.375 kB / 0.543 GB, free: 95.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.231e-05/0.6911, allocations: 9.891 kB / 0.543 GB, free: 95.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01313/0.7043, allocations: 7.989 MB / 0.5508 GB, free: 92.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.7043, allocations: 3.781 kB / 0.5508 GB, free: 92.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/0.7059, allocations: 390.5 kB / 0.5512 GB, free: 92.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002823/0.7087, allocations: 0.9224 MB / 0.5521 GB, free: 91.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/0.7089, allocations: 54.56 kB / 0.5522 GB, free: 91.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009001/0.7179, allocations: 10.69 MB / 0.5626 GB, free: 83.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.237e-06/0.7179, allocations: 4 kB / 0.5626 GB, free: 83.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007421/0.7254, allocations: 5.518 MB / 0.568 GB, free: 77.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001721/0.7271, allocations: 0.578 MB / 0.5686 GB, free: 77.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000568/0.7277, allocations: 47.98 kB / 0.5686 GB, free: 77.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/0.7291, allocations: 119.8 kB / 0.5687 GB, free: 77.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/0.7296, allocations: 185.7 kB / 0.5689 GB, free: 77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.7297, allocations: 59.98 kB / 0.569 GB, free: 76.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002354/0.732, allocations: 1.743 MB / 0.5707 GB, free: 75.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.732, allocations: 0 / 0.5707 GB, free: 75.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002724/0.7348, allocations: 0.7988 MB / 0.5714 GB, free: 74.39 MB / 446.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.0006368/0.7354, allocations: 238.7 kB / 0.5717 GB, free: 74.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00513/0.7405, allocations: 3.632 MB / 0.5752 GB, free: 70.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/0.7405, allocations: 0 / 0.5752 GB, free: 70.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003458/0.744, allocations: 2.311 MB / 0.5775 GB, free: 68.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004867/0.7489, allocations: 0.7866 MB / 0.5782 GB, free: 67.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/0.7633, allocations: 7.909 MB / 0.586 GB, free: 59.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002834/0.7662, allocations: 2.723 MB / 0.5886 GB, free: 56.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/0.7673, allocations: 195.4 kB / 0.5888 GB, free: 56.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.533e-06/0.7673, allocations: 0 / 0.5888 GB, free: 56.49 MB / 446.1 MB Notification: Performance of Templates: time 0.1753/0.9426, allocations: 142.7 MB / 0.7282 GB, free: 9.758 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 16.688329828204587]