Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.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.001692/0.001692, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.00205/0.00205, allocations: 208.5 kB / 24.48 MB, free: 3.941 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.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 51.92 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.231, allocations: 53.37 MB / 432.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01421/0.2452, allocations: 11.34 MB / 443.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007837/0.253, allocations: 4.039 MB / 447.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.2544, allocations: 107.3 kB / 447.9 MB, free: 7.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.2566, allocations: 0.9549 MB / 448.8 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002895/0.2595, allocations: 1.251 MB / 450.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.2605, allocations: 0.5188 MB / 450.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005076/0.2656, allocations: 4.664 MB / 455.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002664/0.2683, allocations: 1.996 MB / 457.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003489/0.2717, allocations: 2.186 MB / 459.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003738/0.2755, allocations: 2.541 MB / 462 MB, free: 8.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008778/0.2764, allocations: 0.5508 MB / 462.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.2776, allocations: 0.6522 MB / 463.2 MB, free: 7.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001494/0.2791, allocations: 1.531 MB / 464.7 MB, free: 6.215 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002427/0.2816, allocations: 2.015 MB / 466.7 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008234/0.2898, allocations: 7.509 MB / 474.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.2898, allocations: 3.938 kB / 474.2 MB, free: 12.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.2898, allocations: 4 kB / 474.2 MB, free: 12.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001339/0.2899, allocations: 0 / 474.2 MB, free: 12.65 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.01085/0.3008, allocations: 4.743 MB / 479 MB, free: 7.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3008, allocations: 12.03 kB / 479 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.3025, allocations: 0.5526 MB / 479.5 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005364/0.3079, allocations: 2.552 MB / 482.1 MB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002467/0.3081, allocations: 267 kB / 482.4 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006065/0.3088, allocations: 351.9 kB / 482.7 MB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009363/0.3181, allocations: 5.28 MB / 488 MB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.708e-05/0.3182, allocations: 11.89 kB / 488 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000356/0.3186, allocations: 144 kB / 488.1 MB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002078/0.3188, allocations: 183 kB / 488.3 MB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007622/0.3264, allocations: 4.294 MB / 492.6 MB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02286/0.3493, allocations: 12.85 MB / 0.4936 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004133/0.3534, allocations: 2.692 MB / 0.4962 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003284/0.3567, allocations: 1.87 MB / 0.4981 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002438/0.3569, allocations: 57.95 kB / 0.4981 GB, free: 8.262 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.883e-05/0.357, allocations: 60.56 kB / 0.4982 GB, free: 8.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.388e-06/0.357, allocations: 0 / 0.4982 GB, free: 8.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02/0.377, allocations: 9.581 MB / 0.5075 GB, free: 14.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.377, allocations: 73.41 kB / 0.5076 GB, free: 14.51 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/0.3804, allocations: 2.199 MB / 0.5098 GB, free: 12.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001655/0.3806, allocations: 65.7 kB / 0.5098 GB, free: 12.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.3819, allocations: 1.668 MB / 0.5114 GB, free: 10.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007199/0.3826, allocations: 0.763 MB / 0.5122 GB, free: 9.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007044/0.3833, allocations: 420.4 kB / 0.5126 GB, free: 9.336 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3835, allocations: 305.1 kB / 0.5129 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/0.3856, allocations: 1.301 MB / 0.5142 GB, free: 7.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002543/0.3882, allocations: 1.774 MB / 0.5159 GB, free: 5.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004885/0.3931, allocations: 3.215 MB / 0.519 GB, free: 2.371 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.3931, allocations: 4 kB / 0.519 GB, free: 2.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007225/0.4003, allocations: 4.037 MB / 0.523 GB, free: 14.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.4003, allocations: 19.22 kB / 0.523 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.4003, allocations: 12 kB / 0.523 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002803/0.4031, allocations: 0.8827 MB / 0.5239 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002091/0.4052, allocations: 0.5227 MB / 0.5244 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01129/0.4165, allocations: 9.013 MB / 0.5332 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.4183, allocations: 127.8 kB / 0.5333 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/0.4185, allocations: 80 kB / 0.5334 GB, free: 3.336 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.002123/0.4207, allocations: 1.223 MB / 0.5346 GB, free: 2.102 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004949/0.4211, allocations: 266.3 kB / 0.5348 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1905/0.6117, allocations: 3.67 MB / 0.5384 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.6117, allocations: 24.84 kB / 0.5384 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/0.6117, allocations: 6.875 kB / 0.5384 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.847e-05/0.6118, allocations: 15.28 kB / 0.5385 GB, free: 100 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/0.6234, allocations: 7.099 MB / 0.5454 GB, free: 97.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.6234, allocations: 3.906 kB / 0.5454 GB, free: 97.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/0.6249, allocations: 387.1 kB / 0.5458 GB, free: 97.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002652/0.6276, allocations: 0.9249 MB / 0.5467 GB, free: 97.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.6277, allocations: 53.78 kB / 0.5467 GB, free: 97.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00842/0.6362, allocations: 10.49 MB / 0.557 GB, free: 89.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6362, allocations: 4.688 kB / 0.557 GB, free: 89.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006773/0.6429, allocations: 5.486 MB / 0.5623 GB, free: 83.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/0.6444, allocations: 0.5406 MB / 0.5628 GB, free: 83.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003411/0.6448, allocations: 51.98 kB / 0.5629 GB, free: 83.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/0.646, allocations: 111.9 kB / 0.563 GB, free: 83.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003344/0.6464, allocations: 189.6 kB / 0.5632 GB, free: 83.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.6465, allocations: 67.36 kB / 0.5632 GB, free: 83.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001732/0.6482, allocations: 1.493 MB / 0.5647 GB, free: 81.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6482, allocations: 0 / 0.5647 GB, free: 81.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001966/0.6502, allocations: 0.7989 MB / 0.5655 GB, free: 80.78 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.0004771/0.6507, allocations: 235.3 kB / 0.5657 GB, free: 80.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004622/0.6553, allocations: 3.627 MB / 0.5692 GB, free: 76.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.6553, allocations: 0 / 0.5692 GB, free: 76.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002938/0.6582, allocations: 2.316 MB / 0.5715 GB, free: 74.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/0.6607, allocations: 0.6219 MB / 0.5721 GB, free: 73.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009539/0.6703, allocations: 7.849 MB / 0.5798 GB, free: 66.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/0.672, allocations: 2.188 MB / 0.5819 GB, free: 63.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007649/0.6727, allocations: 183.4 kB / 0.5821 GB, free: 63.68 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.6727, allocations: 0 / 0.5821 GB, free: 63.68 MB / 446.1 MB Notification: Performance of Templates: time 0.1322/0.805, allocations: 141.3 MB / 0.7201 GB, free: 2.34 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.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.00882552517578]