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.001413/0.001413, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.001568/0.001568, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.482/1.482, allocations: 230.6 MB / 254.1 MB, free: 15.08 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 51.92 kB / 373 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0976/0.09928, allocations: 53.34 MB / 426.3 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.2052/0.3045, allocations: 12.95 MB / 439.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007954/0.3125, allocations: 4.273 MB / 443.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.3149, allocations: 102.5 kB / 443.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002743/0.3176, allocations: 1.02 MB / 444.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005198/0.3228, allocations: 1.232 MB / 445.9 MB, free: 340 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001856/0.3247, allocations: 0.5267 MB / 446.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00745/0.3321, allocations: 4.656 MB / 451.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004147/0.3363, allocations: 2.688 MB / 453.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004913/0.3412, allocations: 2.183 MB / 456 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005673/0.3469, allocations: 2.629 MB / 458.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002106/0.349, allocations: 0.551 MB / 459.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002995/0.352, allocations: 0.6564 MB / 459.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002638/0.3546, allocations: 1.536 MB / 461.3 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007797/0.3624, allocations: 2.492 MB / 463.8 MB, free: 7.648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.3754, allocations: 7.462 MB / 471.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.3755, allocations: 1.125 kB / 471.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3755, allocations: 3.062 kB / 471.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002392/0.3757, allocations: 0 / 471.3 MB, free: 2.121 MB / 366.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.01474/0.3904, allocations: 4.827 MB / 476.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.3905, allocations: 9.688 kB / 476.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001406/0.3919, allocations: 0.4989 MB / 476.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/0.3941, allocations: 0.5477 MB / 477.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005602/0.3997, allocations: 2.612 MB / 479.8 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.3999, allocations: 267 kB / 480.1 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009317/0.4009, allocations: 351.9 kB / 480.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.4121, allocations: 5.029 MB / 485.4 MB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/0.4122, allocations: 11.89 kB / 485.4 MB, free: 5.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005067/0.4127, allocations: 144 kB / 485.6 MB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002129/0.4129, allocations: 187.9 kB / 485.8 MB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008766/0.4216, allocations: 4.294 MB / 490.1 MB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02922/0.4509, allocations: 14.76 MB / 0.493 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005228/0.4561, allocations: 4.056 MB / 0.4969 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003481/0.4596, allocations: 1.873 MB / 0.4988 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003378/0.4599, allocations: 131.1 kB / 0.4989 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.042e-05/0.46, allocations: 68.56 kB / 0.499 GB, free: 11.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 4.548e-06/0.46, allocations: 0 / 0.499 GB, free: 11.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.02345/0.4834, allocations: 9.993 MB / 0.5087 GB, free: 1.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.4835, allocations: 77.41 kB / 0.5088 GB, free: 1.332 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004413/0.4879, allocations: 2.522 MB / 0.5113 GB, free: 14.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003478/0.4883, allocations: 65.7 kB / 0.5113 GB, free: 14.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.4896, allocations: 1.662 MB / 0.5129 GB, free: 13.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008967/0.4905, allocations: 0.7668 MB / 0.5137 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007779/0.4913, allocations: 412.5 kB / 0.5141 GB, free: 11.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4914, allocations: 305.1 kB / 0.5144 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002255/0.4937, allocations: 1.301 MB / 0.5156 GB, free: 10.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00261/0.4963, allocations: 1.782 MB / 0.5174 GB, free: 8.281 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00515/0.5014, allocations: 3.211 MB / 0.5205 GB, free: 4.887 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-05/0.5015, allocations: 4 kB / 0.5205 GB, free: 4.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008154/0.5096, allocations: 4.073 MB / 0.5245 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.5096, allocations: 8 kB / 0.5245 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.235e-05/0.5097, allocations: 16 kB / 0.5245 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003043/0.5127, allocations: 0.8721 MB / 0.5254 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/0.5152, allocations: 0.5304 MB / 0.5259 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/0.5276, allocations: 9.475 MB / 0.5351 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/0.5305, allocations: 123.9 kB / 0.5353 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005641/0.531, allocations: 83.98 kB / 0.5353 GB, free: 5.25 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.002984/0.534, allocations: 1.215 MB / 0.5365 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009636/0.535, allocations: 290.2 kB / 0.5368 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007919/0.5429, allocations: 3.699 MB / 0.5404 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.023e-05/0.5429, allocations: 20.05 kB / 0.5404 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.74e-05/0.543, allocations: 8 kB / 0.5404 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/0.543, allocations: 15.84 kB / 0.5405 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/0.5615, allocations: 8.006 MB / 0.5483 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.5615, allocations: 4 kB / 0.5483 GB, free: 7.836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/0.5634, allocations: 383.8 kB / 0.5487 GB, free: 7.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003426/0.5669, allocations: 0.9329 MB / 0.5496 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003114/0.5672, allocations: 47.98 kB / 0.5496 GB, free: 6.465 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01385/0.581, allocations: 11.12 MB / 0.5605 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.581, allocations: 0 / 0.5605 GB, free: 10.79 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/0.5919, allocations: 5.51 MB / 0.5658 GB, free: 5.211 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002433/0.5944, allocations: 0.6475 MB / 0.5665 GB, free: 4.543 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001169/0.5955, allocations: 47.98 kB / 0.5665 GB, free: 4.496 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002536/0.5981, allocations: 111.9 kB / 0.5666 GB, free: 4.387 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006353/0.5987, allocations: 181.7 kB / 0.5668 GB, free: 4.207 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002409/0.5989, allocations: 59.98 kB / 0.5669 GB, free: 4.148 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004003/0.6029, allocations: 1.743 MB / 0.5686 GB, free: 2.395 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6029, allocations: 0 / 0.5686 GB, free: 2.395 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004477/0.6074, allocations: 0.8007 MB / 0.5693 GB, free: 1.594 MB / 478.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.01178/0.6192, allocations: 6.195 MB / 0.5754 GB, free: 11.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007958/0.6272, allocations: 3.767 MB / 0.5791 GB, free: 7.484 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.6272, allocations: 0 / 0.5791 GB, free: 7.484 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005117/0.6323, allocations: 2.394 MB / 0.5814 GB, free: 5.016 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006084/0.6384, allocations: 0.792 MB / 0.5822 GB, free: 4.234 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07047/0.7088, allocations: 29.61 MB / 0.6111 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004659/0.7135, allocations: 2.781 MB / 0.6138 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002938/0.7164, allocations: 0.6829 MB / 0.6145 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003281/0.7197, allocations: 1.421 MB / 0.6159 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of SimCode: time 1.683e-06/0.7197, allocations: 0 / 0.6159 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3526/1.072, allocations: 74.31 MB / 0.6884 GB, free: 121.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.88/16.95, allocations: 7.875 kB / 0.6884 GB, free: 121.2 MB / 0.5137 GB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] 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 657] Reference file matches [Calling sys.exit(0), Time elapsed: 25.716782666975632]