Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.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.001951/0.001951, 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.002431/0.002431, allocations: 207.9 kB / 23.73 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.55/1.55, allocations: 230.5 MB / 257.4 MB, free: 7.742 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.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 59.89 kB / 377.8 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.329, allocations: 53.41 MB / 431.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01485/0.3439, allocations: 11.33 MB / 442.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008973/0.3529, allocations: 4.065 MB / 446.6 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002593/0.3555, allocations: 99.38 kB / 446.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002926/0.3584, allocations: 0.9626 MB / 447.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004517/0.3629, allocations: 1.251 MB / 448.9 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.3645, allocations: 0.5345 MB / 449.4 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006771/0.3713, allocations: 4.692 MB / 454.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/0.3743, allocations: 1.999 MB / 456.1 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004644/0.3789, allocations: 2.212 MB / 458.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00474/0.3837, allocations: 2.549 MB / 460.9 MB, free: 8.602 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009264/0.3846, allocations: 0.5508 MB / 461.4 MB, free: 8.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.3861, allocations: 0.6522 MB / 462.1 MB, free: 7.398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001485/0.3876, allocations: 1.547 MB / 463.6 MB, free: 5.848 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002791/0.3904, allocations: 2.019 MB / 465.6 MB, free: 3.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008312/0.3987, allocations: 7.529 MB / 473.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.3987, allocations: 4 kB / 473.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3987, allocations: 0 / 473.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002319/0.3989, allocations: 0 / 473.2 MB, free: 12.26 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.01134/0.4103, allocations: 4.755 MB / 477.9 MB, free: 7.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.651e-05/0.4103, allocations: 15.98 kB / 477.9 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008127/0.4111, allocations: 0.4983 MB / 478.4 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.4129, allocations: 0.5526 MB / 479 MB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005859/0.4187, allocations: 2.552 MB / 481.5 MB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002586/0.419, allocations: 271.2 kB / 481.8 MB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006556/0.4196, allocations: 355.9 kB / 482.1 MB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.4301, allocations: 5.311 MB / 487.5 MB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.234e-05/0.4302, allocations: 3.984 kB / 487.5 MB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003455/0.4306, allocations: 148 kB / 487.6 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002301/0.4308, allocations: 191.1 kB / 487.8 MB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008374/0.4392, allocations: 4.306 MB / 492.1 MB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02854/0.4677, allocations: 13.44 MB / 0.4937 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004584/0.4723, allocations: 2.695 MB / 0.4963 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003414/0.4757, allocations: 1.87 MB / 0.4981 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/0.476, allocations: 57.97 kB / 0.4982 GB, free: 6.688 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.476, allocations: 52.56 kB / 0.4983 GB, free: 6.629 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.579e-06/0.4761, allocations: 0 / 0.4983 GB, free: 6.629 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02133/0.4974, allocations: 9.624 MB / 0.5076 GB, free: 12.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.4974, allocations: 77.41 kB / 0.5077 GB, free: 12.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004049/0.5015, allocations: 2.541 MB / 0.5102 GB, free: 10.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003107/0.5018, allocations: 65.7 kB / 0.5103 GB, free: 10.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001384/0.5032, allocations: 1.67 MB / 0.5119 GB, free: 8.578 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007539/0.5039, allocations: 0.7591 MB / 0.5126 GB, free: 7.812 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007016/0.5046, allocations: 424.4 kB / 0.513 GB, free: 7.391 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5048, allocations: 305.1 kB / 0.5133 GB, free: 7.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002117/0.5069, allocations: 1.301 MB / 0.5146 GB, free: 5.785 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/0.5094, allocations: 1.778 MB / 0.5163 GB, free: 3.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004775/0.5141, allocations: 3.212 MB / 0.5195 GB, free: 436 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.5142, allocations: 4 kB / 0.5195 GB, free: 432 kB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007341/0.5215, allocations: 4.065 MB / 0.5235 GB, free: 12.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.5215, allocations: 12.06 kB / 0.5235 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/0.5216, allocations: 16 kB / 0.5235 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002828/0.5244, allocations: 0.8755 MB / 0.5243 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/0.5267, allocations: 0.5266 MB / 0.5248 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.5382, allocations: 9.091 MB / 0.5337 GB, free: 1.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/0.5407, allocations: 127.7 kB / 0.5338 GB, free: 1.332 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003334/0.5411, allocations: 80 kB / 0.5339 GB, free: 1.254 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.002297/0.5434, allocations: 1.219 MB / 0.5351 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2472/0.7906, allocations: 289.7 kB / 0.5354 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007672/0.7983, allocations: 3.693 MB / 0.539 GB, free: 99.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/0.7983, allocations: 22.64 kB / 0.539 GB, free: 99.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.82e-05/0.7983, allocations: 6.844 kB / 0.539 GB, free: 99.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-05/0.7983, allocations: 12.56 kB / 0.539 GB, free: 99.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/0.8118, allocations: 7.553 MB / 0.5464 GB, free: 96.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.8118, allocations: 2.531 kB / 0.5464 GB, free: 96.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/0.8133, allocations: 387 kB / 0.5468 GB, free: 96.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002735/0.816, allocations: 0.9253 MB / 0.5477 GB, free: 96.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001677/0.8162, allocations: 60.56 kB / 0.5477 GB, free: 96.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008715/0.8249, allocations: 10.59 MB / 0.5581 GB, free: 86.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.8249, allocations: 7.938 kB / 0.5581 GB, free: 86.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007078/0.832, allocations: 5.504 MB / 0.5635 GB, free: 81.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/0.8338, allocations: 0.5758 MB / 0.564 GB, free: 80.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004772/0.8343, allocations: 53.67 kB / 0.5641 GB, free: 80.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/0.8356, allocations: 115.9 kB / 0.5642 GB, free: 80.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/0.836, allocations: 193.6 kB / 0.5644 GB, free: 80.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.8361, allocations: 59.98 kB / 0.5644 GB, free: 80.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002097/0.8382, allocations: 1.739 MB / 0.5661 GB, free: 78.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8382, allocations: 0 / 0.5661 GB, free: 78.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002325/0.8406, allocations: 0.8031 MB / 0.5669 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.007365/0.8479, allocations: 6.198 MB / 0.573 GB, free: 71.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005172/0.8531, allocations: 3.62 MB / 0.5765 GB, free: 67.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.8531, allocations: 0.8125 kB / 0.5765 GB, free: 67.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003252/0.8564, allocations: 2.32 MB / 0.5788 GB, free: 65.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00344/0.8598, allocations: 0.793 MB / 0.5795 GB, free: 64.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04281/0.9026, allocations: 29.68 MB / 0.6085 GB, free: 34.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002133/0.9047, allocations: 2.244 MB / 0.6107 GB, free: 32.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001978/0.9067, allocations: 0.6829 MB / 0.6114 GB, free: 31.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/0.9084, allocations: 1.417 MB / 0.6128 GB, free: 29.99 MB / 446.1 MB Notification: Performance of SimCode: time 1.684e-06/0.9084, allocations: 0 / 0.6128 GB, free: 29.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1467/1.055, allocations: 78.48 MB / 0.6894 GB, free: 128 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.91/15.97, allocations: 10 kB / 0.6894 GB, free: 120 kB / 494.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.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: 25.154066667426378]