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.001833/0.001833, allocations: 110 kB / 20.43 MB, free: 1.453 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.002326/0.002326, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.477/1.477, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.001963/0.001963, allocations: 67.84 kB / 377.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3071, allocations: 53.39 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01735/0.3244, allocations: 13.04 MB / 444.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009012/0.3334, allocations: 4.295 MB / 448.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.3357, allocations: 95.38 kB / 448.6 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00254/0.3383, allocations: 1.029 MB / 449.7 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004028/0.3423, allocations: 1.262 MB / 450.9 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.3436, allocations: 0.546 MB / 451.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006318/0.35, allocations: 4.688 MB / 456.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003392/0.3533, allocations: 2.074 MB / 458.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004513/0.3579, allocations: 2.211 MB / 460.4 MB, free: 9.289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004704/0.3626, allocations: 2.643 MB / 463.1 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001178/0.3637, allocations: 0.5508 MB / 463.6 MB, free: 6.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001776/0.3655, allocations: 0.66 MB / 464.3 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00168/0.3672, allocations: 1.55 MB / 465.8 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003892/0.3711, allocations: 2.489 MB / 468.3 MB, free: 1.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009662/0.3808, allocations: 7.478 MB / 475.8 MB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.197e-05/0.3808, allocations: 7.984 kB / 475.8 MB, free: 9.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3808, allocations: 0 / 475.8 MB, free: 9.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002429/0.381, allocations: 7.938 kB / 475.8 MB, free: 9.852 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.01174/0.3927, allocations: 4.759 MB / 480.6 MB, free: 5.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3928, allocations: 8.031 kB / 480.6 MB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009728/0.3938, allocations: 0.5061 MB / 481.1 MB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.3956, allocations: 0.5487 MB / 481.6 MB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005651/0.4012, allocations: 2.54 MB / 484.2 MB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.4015, allocations: 283.1 kB / 484.5 MB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009026/0.4024, allocations: 351.9 kB / 484.8 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/0.4125, allocations: 5.06 MB / 489.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-05/0.4126, allocations: 4 kB / 489.9 MB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004308/0.413, allocations: 143.9 kB / 490 MB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002299/0.4133, allocations: 195.1 kB / 490.2 MB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008929/0.4222, allocations: 4.314 MB / 494.5 MB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02831/0.4505, allocations: 14.93 MB / 0.4975 GB, free: 7.602 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00412/0.4546, allocations: 2.699 MB / 0.5001 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003192/0.4578, allocations: 1.874 MB / 0.502 GB, free: 3.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/0.4581, allocations: 57.95 kB / 0.502 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/0.4581, allocations: 56.55 kB / 0.5021 GB, free: 2.949 MB / 414.1 MB Notification: Performance of pre-optimization done (n=198): time 3.667e-06/0.4581, allocations: 0 / 0.5021 GB, free: 2.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=218): time 0.0205/0.4786, allocations: 9.624 MB / 0.5115 GB, free: 9.309 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.4787, allocations: 73.41 kB / 0.5115 GB, free: 9.223 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004071/0.4828, allocations: 2.514 MB / 0.514 GB, free: 6.688 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003885/0.4832, allocations: 61.7 kB / 0.5141 GB, free: 6.621 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/0.4846, allocations: 1.674 MB / 0.5157 GB, free: 4.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000884/0.4855, allocations: 0.763 MB / 0.5164 GB, free: 4.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007066/0.4862, allocations: 424.4 kB / 0.5168 GB, free: 3.738 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4864, allocations: 305.1 kB / 0.5171 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/0.4885, allocations: 1.301 MB / 0.5184 GB, free: 2.133 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/0.4911, allocations: 1.786 MB / 0.5202 GB, free: 164 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004852/0.496, allocations: 3.212 MB / 0.5233 GB, free: 12.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/0.496, allocations: 4 kB / 0.5233 GB, free: 12.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007627/0.5036, allocations: 4.069 MB / 0.5273 GB, free: 8.668 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.5036, allocations: 12.47 kB / 0.5273 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/0.5037, allocations: 16 kB / 0.5273 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002906/0.5066, allocations: 0.8717 MB / 0.5281 GB, free: 7.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002241/0.5088, allocations: 0.5266 MB / 0.5287 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2173/0.7261, allocations: 9.167 MB / 0.5376 GB, free: 96.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/0.7284, allocations: 117.8 kB / 0.5377 GB, free: 96.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003227/0.7287, allocations: 84.64 kB / 0.5378 GB, free: 96.29 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.002188/0.7309, allocations: 1.222 MB / 0.539 GB, free: 96.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007126/0.7316, allocations: 292 kB / 0.5393 GB, free: 96.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00614/0.7378, allocations: 3.705 MB / 0.5429 GB, free: 94.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-05/0.7378, allocations: 21.56 kB / 0.5429 GB, free: 94.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.009e-05/0.7378, allocations: 7.906 kB / 0.5429 GB, free: 94.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.832e-05/0.7378, allocations: 11.39 kB / 0.5429 GB, free: 94.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/0.7506, allocations: 7.998 MB / 0.5507 GB, free: 91.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.7506, allocations: 10.78 kB / 0.5508 GB, free: 91.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/0.7521, allocations: 382.8 kB / 0.5511 GB, free: 91.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002751/0.7549, allocations: 0.924 MB / 0.552 GB, free: 91.37 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/0.7551, allocations: 55.14 kB / 0.5521 GB, free: 91.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008646/0.7637, allocations: 10.69 MB / 0.5625 GB, free: 81.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7637, allocations: 8 kB / 0.5625 GB, free: 81.97 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006851/0.7706, allocations: 5.508 MB / 0.5679 GB, free: 76.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/0.7723, allocations: 0.5783 MB / 0.5685 GB, free: 76.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004197/0.7728, allocations: 48 kB / 0.5685 GB, free: 76.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.774, allocations: 115.9 kB / 0.5686 GB, free: 75.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003826/0.7744, allocations: 193.6 kB / 0.5688 GB, free: 75.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.7745, allocations: 63.98 kB / 0.5689 GB, free: 75.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002101/0.7766, allocations: 1.735 MB / 0.5706 GB, free: 73.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7766, allocations: 0 / 0.5706 GB, free: 73.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002258/0.7789, allocations: 0.8066 MB / 0.5713 GB, free: 73.13 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.006877/0.7858, allocations: 6.193 MB / 0.5774 GB, free: 66.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004875/0.7906, allocations: 3.62 MB / 0.5809 GB, free: 63.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.7906, allocations: 4 kB / 0.5809 GB, free: 63.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003111/0.7938, allocations: 2.311 MB / 0.5832 GB, free: 60.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/0.7972, allocations: 0.7908 MB / 0.584 GB, free: 60.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03573/0.8329, allocations: 29.68 MB / 0.6129 GB, free: 29.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001954/0.8349, allocations: 2.793 MB / 0.6157 GB, free: 26.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001869/0.8367, allocations: 0.679 MB / 0.6163 GB, free: 26.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001452/0.8382, allocations: 1.417 MB / 0.6177 GB, free: 24.77 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.8382, allocations: 0 / 0.6177 GB, free: 24.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1474/0.9855, allocations: 76.26 MB / 0.6922 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.34/18.32, allocations: 2.078 kB / 0.6922 GB, free: 13.07 MB / 0.4981 GB " [Timeout remaining time 642] (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: 27.49065660708584]