Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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.001888/0.001888, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002532/0.002532, allocations: 205.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 230.5 MB / 257.4 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 63.89 kB / 377.8 MB, free: 2.777 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.241, allocations: 53.4 MB / 431.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01456/0.2556, allocations: 11.36 MB / 442.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008233/0.2638, allocations: 4.066 MB / 446.6 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/0.2657, allocations: 103.3 kB / 446.7 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.2681, allocations: 0.9626 MB / 447.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003357/0.2715, allocations: 1.255 MB / 448.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.2726, allocations: 0.5305 MB / 449.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00544/0.278, allocations: 4.692 MB / 454.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002827/0.2809, allocations: 2.003 MB / 456.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003856/0.2847, allocations: 2.207 MB / 458.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004184/0.2889, allocations: 2.553 MB / 460.9 MB, free: 8.566 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001438/0.2904, allocations: 0.5547 MB / 461.5 MB, free: 8.012 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001823/0.2922, allocations: 0.6444 MB / 462.1 MB, free: 7.367 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001606/0.2938, allocations: 1.55 MB / 463.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003063/0.2968, allocations: 2.019 MB / 465.7 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0093/0.3061, allocations: 7.525 MB / 473.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3062, allocations: 0 / 473.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3062, allocations: 0 / 473.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002296/0.3064, allocations: 0 / 473.2 MB, free: 12.23 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: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.0112/0.3176, allocations: 4.767 MB / 478 MB, free: 7.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.3176, allocations: 11.98 kB / 478 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008082/0.3184, allocations: 0.4983 MB / 478.5 MB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.3201, allocations: 0.5526 MB / 479 MB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005672/0.3258, allocations: 2.548 MB / 481.6 MB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002792/0.326, allocations: 271.1 kB / 481.8 MB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006385/0.3267, allocations: 359.9 kB / 482.2 MB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00893/0.3356, allocations: 5.311 MB / 487.5 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.881e-05/0.3357, allocations: 4 kB / 487.5 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000344/0.336, allocations: 147.9 kB / 487.7 MB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002185/0.3362, allocations: 199 kB / 487.9 MB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007722/0.344, allocations: 4.302 MB / 492.2 MB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02502/0.369, allocations: 13.43 MB / 0.4937 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004128/0.3731, allocations: 2.692 MB / 0.4964 GB, free: 8.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003791/0.3769, allocations: 1.874 MB / 0.4982 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.3772, allocations: 49.97 kB / 0.4982 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.65e-05/0.3773, allocations: 60.56 kB / 0.4983 GB, free: 6.594 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 5.471e-06/0.3773, allocations: 0 / 0.4983 GB, free: 6.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02089/0.3982, allocations: 9.624 MB / 0.5077 GB, free: 12.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.3982, allocations: 77.41 kB / 0.5078 GB, free: 12.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004022/0.4023, allocations: 2.541 MB / 0.5103 GB, free: 10.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002069/0.4025, allocations: 65.64 kB / 0.5103 GB, free: 10.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00134/0.4038, allocations: 1.666 MB / 0.5119 GB, free: 8.551 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007106/0.4045, allocations: 0.7708 MB / 0.5127 GB, free: 7.773 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006835/0.4052, allocations: 412.5 kB / 0.5131 GB, free: 7.363 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.4053, allocations: 313 kB / 0.5134 GB, free: 7.055 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002224/0.4076, allocations: 1.293 MB / 0.5147 GB, free: 5.758 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002646/0.4102, allocations: 1.79 MB / 0.5164 GB, free: 3.781 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005178/0.4154, allocations: 3.204 MB / 0.5195 GB, free: 404 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.897e-05/0.4154, allocations: 4 kB / 0.5195 GB, free: 400 kB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007713/0.4231, allocations: 4.072 MB / 0.5235 GB, free: 12.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.4232, allocations: 12 kB / 0.5235 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/0.4232, allocations: 12 kB / 0.5235 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002828/0.426, allocations: 0.876 MB / 0.5244 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/0.4281, allocations: 0.5266 MB / 0.5249 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01131/0.4394, allocations: 9.086 MB / 0.5338 GB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.4415, allocations: 119.9 kB / 0.5339 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/0.4417, allocations: 88 kB / 0.534 GB, free: 1.223 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.2045/0.6461, allocations: 1.219 MB / 0.5352 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009877/0.6471, allocations: 288.5 kB / 0.5354 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006224/0.6533, allocations: 3.695 MB / 0.539 GB, free: 99.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/0.6534, allocations: 23.19 kB / 0.5391 GB, free: 99.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.6534, allocations: 6.656 kB / 0.5391 GB, free: 99.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/0.6534, allocations: 10.78 kB / 0.5391 GB, free: 99.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01168/0.6651, allocations: 7.553 MB / 0.5465 GB, free: 96.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.6651, allocations: 3.469 kB / 0.5465 GB, free: 96.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/0.6665, allocations: 382.1 kB / 0.5468 GB, free: 96.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002506/0.669, allocations: 0.9311 MB / 0.5477 GB, free: 96.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/0.6692, allocations: 56.75 kB / 0.5478 GB, free: 96.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0083/0.6775, allocations: 10.59 MB / 0.5581 GB, free: 86.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.6775, allocations: 7.938 kB / 0.5581 GB, free: 86.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006898/0.6844, allocations: 5.512 MB / 0.5635 GB, free: 81.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/0.6861, allocations: 0.578 MB / 0.5641 GB, free: 80.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004406/0.6865, allocations: 51.98 kB / 0.5641 GB, free: 80.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.6878, allocations: 115.9 kB / 0.5643 GB, free: 80.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/0.6882, allocations: 189.6 kB / 0.5644 GB, free: 80.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.6883, allocations: 63.98 kB / 0.5645 GB, free: 80.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002085/0.6904, allocations: 1.735 MB / 0.5662 GB, free: 78.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6904, allocations: 4 kB / 0.5662 GB, free: 78.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002096/0.6925, allocations: 0.8046 MB / 0.567 GB, free: 77.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.007116/0.6996, allocations: 6.187 MB / 0.573 GB, free: 71.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004816/0.7044, allocations: 3.622 MB / 0.5766 GB, free: 67.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.7044, allocations: 4 kB / 0.5766 GB, free: 67.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00308/0.7075, allocations: 2.312 MB / 0.5788 GB, free: 65.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/0.7109, allocations: 0.7855 MB / 0.5796 GB, free: 64.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03887/0.7498, allocations: 29.68 MB / 0.6086 GB, free: 34.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/0.7518, allocations: 2.24 MB / 0.6108 GB, free: 32.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001961/0.7537, allocations: 0.6868 MB / 0.6114 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001591/0.7553, allocations: 1.417 MB / 0.6128 GB, free: 29.97 MB / 446.1 MB Notification: Performance of SimCode: time 9.11e-07/0.7553, allocations: 3.938 kB / 0.6128 GB, free: 29.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1412/0.8965, allocations: 78.48 MB / 0.6895 GB, free: 92 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.69, allocations: 3.953 kB / 0.6895 GB, free: 88 kB / 494.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 24.983889036811888]