Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002237/0.002237, allocations: 188.2 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,fileNamePrefix="Modelica_4_0_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_0_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: 47.92 kB / 370.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2597, allocations: 52.2 MB / 422.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01623/0.2759, allocations: 12.98 MB / 435.6 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008598/0.2845, allocations: 4.202 MB / 439.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/0.2866, allocations: 95.38 kB / 439.9 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002987/0.2896, allocations: 1.018 MB / 440.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004495/0.2941, allocations: 1.243 MB / 442.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.2957, allocations: 0.5187 MB / 442.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007181/0.3029, allocations: 4.633 MB / 447.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004232/0.3072, allocations: 2.081 MB / 449.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004458/0.3116, allocations: 2.175 MB / 451.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005103/0.3167, allocations: 2.627 MB / 454.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001659/0.3184, allocations: 0.5508 MB / 454.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.3204, allocations: 0.6482 MB / 455.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002308/0.3227, allocations: 1.535 MB / 457 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004275/0.3269, allocations: 2.485 MB / 459.4 MB, free: 9.621 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009816/0.3368, allocations: 7.439 MB / 466.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3368, allocations: 0 / 466.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3368, allocations: 0 / 466.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002213/0.337, allocations: 0 / 466.9 MB, free: 2.156 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.01244/0.3494, allocations: 4.732 MB / 471.6 MB, free: 13.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3495, allocations: 8.031 kB / 471.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008714/0.3503, allocations: 0.4981 MB / 472.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.3517, allocations: 0.5175 MB / 472.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005218/0.3569, allocations: 2.524 MB / 475.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/0.3572, allocations: 271 kB / 475.4 MB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006671/0.3578, allocations: 355.9 kB / 475.8 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009421/0.3673, allocations: 5.029 MB / 480.8 MB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.271e-05/0.3674, allocations: 11.89 kB / 480.8 MB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003567/0.3677, allocations: 140 kB / 480.9 MB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001947/0.3679, allocations: 183.1 kB / 481.1 MB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008107/0.376, allocations: 4.302 MB / 485.4 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02651/0.4025, allocations: 14.59 MB / 0.4883 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004455/0.407, allocations: 2.706 MB / 0.4909 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003394/0.4104, allocations: 1.87 MB / 0.4928 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/0.4106, allocations: 57.95 kB / 0.4928 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.418e-05/0.4107, allocations: 56.56 kB / 0.4929 GB, free: 11.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.627e-06/0.4107, allocations: 0 / 0.4929 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.0214/0.4321, allocations: 9.617 MB / 0.5023 GB, free: 2.207 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.4322, allocations: 73.41 kB / 0.5023 GB, free: 2.121 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005496/0.4377, allocations: 2.506 MB / 0.5048 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004278/0.4381, allocations: 65.7 kB / 0.5049 GB, free: 15.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00178/0.4399, allocations: 1.658 MB / 0.5065 GB, free: 13.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001/0.4409, allocations: 0.763 MB / 0.5072 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009943/0.4419, allocations: 420.4 kB / 0.5076 GB, free: 12.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002413/0.4421, allocations: 301.1 kB / 0.5079 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002417/0.4445, allocations: 1.305 MB / 0.5092 GB, free: 11.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002962/0.4475, allocations: 1.778 MB / 0.5109 GB, free: 9.086 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005553/0.453, allocations: 3.204 MB / 0.514 GB, free: 5.703 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/0.453, allocations: 4 kB / 0.514 GB, free: 5.699 MB / 430.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008441/0.4615, allocations: 4.069 MB / 0.518 GB, free: 1.605 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.4615, allocations: 15.94 kB / 0.518 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-05/0.4615, allocations: 12 kB / 0.518 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003052/0.4646, allocations: 0.8799 MB / 0.5189 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00225/0.4669, allocations: 0.5227 MB / 0.5194 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/0.4799, allocations: 9.184 MB / 0.5284 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.4823, allocations: 119.9 kB / 0.5285 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004105/0.4827, allocations: 83.98 kB / 0.5286 GB, free: 6.434 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.002874/0.4856, allocations: 1.211 MB / 0.5298 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008607/0.4864, allocations: 294.1 kB / 0.53 GB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007368/0.4938, allocations: 3.695 MB / 0.5337 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/0.4938, allocations: 24.08 kB / 0.5337 GB, free: 1.172 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/0.4938, allocations: 11.94 kB / 0.5337 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/0.4939, allocations: 11.95 kB / 0.5337 GB, free: 1.148 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2139/0.7077, allocations: 7.974 MB / 0.5415 GB, free: 104.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.7077, allocations: 7.906 kB / 0.5415 GB, free: 104.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/0.7092, allocations: 387.3 kB / 0.5419 GB, free: 104.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002806/0.712, allocations: 0.9276 MB / 0.5428 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.7122, allocations: 55.28 kB / 0.5428 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008812/0.721, allocations: 10.69 MB / 0.5533 GB, free: 96.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.721, allocations: 7.781 kB / 0.5533 GB, free: 96.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007343/0.7283, allocations: 5.505 MB / 0.5586 GB, free: 92.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/0.7299, allocations: 0.5733 MB / 0.5592 GB, free: 92.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003886/0.7303, allocations: 51.98 kB / 0.5593 GB, free: 92.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.7315, allocations: 115.9 kB / 0.5594 GB, free: 92.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003948/0.7319, allocations: 192.8 kB / 0.5595 GB, free: 91.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001156/0.7321, allocations: 59.98 kB / 0.5596 GB, free: 91.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002041/0.7341, allocations: 1.727 MB / 0.5613 GB, free: 90.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7341, allocations: 4 kB / 0.5613 GB, free: 90.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002019/0.7361, allocations: 0.7952 MB / 0.5621 GB, free: 89.3 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.006969/0.7431, allocations: 6.2 MB / 0.5681 GB, free: 83.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004833/0.7479, allocations: 3.623 MB / 0.5717 GB, free: 79.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/0.7479, allocations: 0 / 0.5717 GB, free: 79.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002946/0.7509, allocations: 2.314 MB / 0.5739 GB, free: 77.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/0.7542, allocations: 0.7937 MB / 0.5747 GB, free: 76.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03627/0.7904, allocations: 29.59 MB / 0.6036 GB, free: 46.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/0.7923, allocations: 2.777 MB / 0.6063 GB, free: 43.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001695/0.794, allocations: 0.6827 MB / 0.607 GB, free: 42.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/0.7955, allocations: 1.409 MB / 0.6084 GB, free: 41.21 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.7955, allocations: 0 / 0.6084 GB, free: 41.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1425/0.938, allocations: 75.97 MB / 0.6825 GB, free: 13.89 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.97/17.91, allocations: 3.938 kB / 0.6825 GB, free: 13.89 MB / 494.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Transformer.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 26.58447671495378]