Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.001614/0.001614, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.00232/0.00232, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 51.94 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.26, allocations: 49.15 MB / 396.4 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01181/0.2718, allocations: 11.23 MB / 407.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00853/0.2803, allocations: 4.041 MB / 411.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002548/0.2829, allocations: 91.31 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002796/0.2857, allocations: 0.9565 MB / 412.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004214/0.2899, allocations: 1.24 MB / 413.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.2913, allocations: 0.5311 MB / 414.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005727/0.297, allocations: 4.671 MB / 419.1 MB, free: 9.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00286/0.2998, allocations: 1.948 MB / 421.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004261/0.3041, allocations: 2.174 MB / 423.2 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00493/0.309, allocations: 2.541 MB / 425.8 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001397/0.3104, allocations: 0.5508 MB / 426.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002348/0.3128, allocations: 0.6366 MB / 427 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001674/0.3145, allocations: 1.543 MB / 428.5 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004123/0.3186, allocations: 2.011 MB / 430.5 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009996/0.3286, allocations: 7.49 MB / 438 MB, free: 9.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.3286, allocations: 0 / 438 MB, free: 9.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3286, allocations: 0 / 438 MB, free: 9.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002531/0.3288, allocations: 0 / 438 MB, free: 9.32 MB / 350.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.01212/0.341, allocations: 4.732 MB / 442.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.341, allocations: 15.98 kB / 442.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009105/0.3419, allocations: 0.4981 MB / 443.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.3433, allocations: 0.5137 MB / 443.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005668/0.349, allocations: 2.361 MB / 446.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.3492, allocations: 271 kB / 446.4 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000682/0.3499, allocations: 352 kB / 446.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009253/0.3591, allocations: 5.28 MB / 452 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.81e-05/0.3592, allocations: 7.953 kB / 452 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003348/0.3596, allocations: 140 kB / 452.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001906/0.3598, allocations: 179.1 kB / 452.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007522/0.3673, allocations: 4.287 MB / 456.6 MB, free: 6.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02426/0.3915, allocations: 13.41 MB / 470 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/0.3956, allocations: 2.697 MB / 472.7 MB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003278/0.3989, allocations: 1.87 MB / 474.6 MB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.3992, allocations: 57.97 kB / 474.7 MB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/0.3992, allocations: 52.56 kB / 474.7 MB, free: 4.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 4.468e-06/0.3992, allocations: 0 / 474.7 MB, free: 4.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02025/0.4195, allocations: 9.68 MB / 484.4 MB, free: 10.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.4195, allocations: 73.41 kB / 484.5 MB, free: 10.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004012/0.4235, allocations: 2.525 MB / 487 MB, free: 7.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002928/0.4238, allocations: 61.7 kB / 487 MB, free: 7.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.4252, allocations: 1.662 MB / 488.7 MB, free: 6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007489/0.4259, allocations: 0.7669 MB / 489.5 MB, free: 5.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007414/0.4267, allocations: 420.5 kB / 489.9 MB, free: 4.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4268, allocations: 309 kB / 490.2 MB, free: 4.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.4289, allocations: 1.297 MB / 491.5 MB, free: 3.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/0.4313, allocations: 1.786 MB / 493.3 MB, free: 1.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004674/0.436, allocations: 3.219 MB / 496.5 MB, free: 13.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.436, allocations: 4 kB / 496.5 MB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007577/0.4436, allocations: 4.069 MB / 0.4888 GB, free: 9.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.4436, allocations: 16.38 kB / 0.4888 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/0.4436, allocations: 16 kB / 0.4889 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002731/0.4464, allocations: 0.8788 MB / 0.4897 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/0.4486, allocations: 0.5304 MB / 0.4902 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.4594, allocations: 9.075 MB / 0.4991 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/0.4614, allocations: 127.8 kB / 0.4992 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.4616, allocations: 80 kB / 0.4993 GB, free: 14.66 MB / 430.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.002109/0.4637, allocations: 1.208 MB / 0.5005 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006099/0.4643, allocations: 290.2 kB / 0.5007 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006454/0.4708, allocations: 3.703 MB / 0.5044 GB, free: 9.418 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.4708, allocations: 20 kB / 0.5044 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.4708, allocations: 15.94 kB / 0.5044 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/0.4708, allocations: 15.89 kB / 0.5044 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/0.4849, allocations: 7.544 MB / 0.5118 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.485, allocations: 3.984 kB / 0.5118 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/0.4866, allocations: 379.7 kB / 0.5121 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002942/0.4895, allocations: 0.9291 MB / 0.5131 GB, free: 396 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/0.4897, allocations: 59.97 kB / 0.5131 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/0.5017, allocations: 10.56 MB / 0.5234 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.5017, allocations: 4 kB / 0.5234 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009165/0.5109, allocations: 5.502 MB / 0.5288 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001945/0.5128, allocations: 0.5761 MB / 0.5294 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005004/0.5133, allocations: 55.92 kB / 0.5294 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.5147, allocations: 115.9 kB / 0.5295 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004134/0.5151, allocations: 185.8 kB / 0.5297 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/0.5152, allocations: 67.97 kB / 0.5298 GB, free: 14.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002747/0.518, allocations: 1.731 MB / 0.5315 GB, free: 12.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.518, allocations: 0 / 0.5315 GB, free: 12.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00324/0.5212, allocations: 0.7968 MB / 0.5322 GB, free: 12.2 MB / 462.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 {(2,12,100.0%), (1,1,100.0%), (3,25,88.9%), (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.009751/0.531, allocations: 6.19 MB / 0.5383 GB, free: 5.926 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006099/0.5371, allocations: 3.62 MB / 0.5418 GB, free: 2.262 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.5371, allocations: 0 / 0.5418 GB, free: 2.262 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004021/0.5411, allocations: 2.318 MB / 0.5441 GB, free: 15.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/0.5446, allocations: 0.7843 MB / 0.5449 GB, free: 15.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2253/0.7699, allocations: 29.62 MB / 0.5738 GB, free: 142.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002433/0.7724, allocations: 2.232 MB / 0.576 GB, free: 141.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002132/0.7745, allocations: 0.6828 MB / 0.5766 GB, free: 141.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/0.7761, allocations: 1.41 MB / 0.578 GB, free: 140.7 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/0.7761, allocations: 0 / 0.578 GB, free: 140.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1183/0.8945, allocations: 78.22 MB / 0.6544 GB, free: 71.14 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.71, allocations: 11.94 kB / 0.6544 GB, free: 71.13 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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: 22.88291865773499]