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.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.001815/0.001815, allocations: 111.1 kB / 18.4 MB, free: 4.695 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.001953/0.001953, allocations: 194.9 kB / 21.34 MB, free: 1.758 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.387/1.387, allocations: 205.1 MB / 229.2 MB, free: 4.52 MB / 174.1 MB " [Timeout remaining time 179] 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.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.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 55.78 kB / 334.7 MB, free: 14.64 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09416/0.09584, allocations: 46.62 MB / 381.4 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01552/0.1114, allocations: 12.81 MB / 394.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008247/0.1197, allocations: 4.242 MB / 398.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.1218, allocations: 67.69 kB / 398.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002612/0.1245, allocations: 0.9665 MB / 399.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003408/0.1279, allocations: 1.173 MB / 400.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.1291, allocations: 0.5305 MB / 401.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005634/0.1347, allocations: 4.669 MB / 405.8 MB, free: 8.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004689/0.1394, allocations: 3.602 MB / 409.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004422/0.1439, allocations: 2.13 MB / 411.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004603/0.1485, allocations: 2.549 MB / 414.1 MB, free: 32 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001296/0.1498, allocations: 0.5586 MB / 414.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001599/0.1514, allocations: 0.6404 MB / 415.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001548/0.153, allocations: 1.519 MB / 416.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003171/0.1562, allocations: 2.481 MB / 419.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008679/0.1649, allocations: 7.439 MB / 426.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.1649, allocations: 8 kB / 426.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1649, allocations: 0 / 426.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002176/0.1652, allocations: 0 / 426.7 MB, free: 3.344 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.01108/0.1763, allocations: 4.796 MB / 431.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.1763, allocations: 12.03 kB / 431.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001032/0.1774, allocations: 0.4981 MB / 432.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.179, allocations: 0.5214 MB / 432.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004699/0.1838, allocations: 2.421 MB / 435 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/0.184, allocations: 263 kB / 435.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005531/0.1846, allocations: 359.9 kB / 435.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008673/0.1933, allocations: 5.017 MB / 440.6 MB, free: 5.273 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-05/0.1934, allocations: 15.89 kB / 440.6 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003322/0.1937, allocations: 144 kB / 440.8 MB, free: 5.117 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001877/0.1939, allocations: 187 kB / 441 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007704/0.2016, allocations: 4.287 MB / 445.2 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02618/0.2278, allocations: 14.76 MB / 460 MB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2117/0.4395, allocations: 4.192 MB / 464.2 MB, free: 65.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003231/0.4428, allocations: 1.996 MB / 466.2 MB, free: 64.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/0.4431, allocations: 135.8 kB / 466.3 MB, free: 64.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.4431, allocations: 53.22 kB / 466.4 MB, free: 64.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 3.687e-06/0.4431, allocations: 0.9375 kB / 466.4 MB, free: 64.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.01832/0.4614, allocations: 10.07 MB / 476.5 MB, free: 61.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.4615, allocations: 76.84 kB / 476.5 MB, free: 61.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003304/0.4648, allocations: 2.507 MB / 479 MB, free: 60.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002605/0.4651, allocations: 61.61 kB / 479.1 MB, free: 60.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008633/0.466, allocations: 1.66 MB / 480.8 MB, free: 58.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005161/0.4665, allocations: 0.773 MB / 481.5 MB, free: 58.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005753/0.4671, allocations: 416.2 kB / 481.9 MB, free: 58.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.497e-05/0.4671, allocations: 301.1 kB / 482.2 MB, free: 57.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.4687, allocations: 1.301 MB / 483.5 MB, free: 57.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001776/0.4705, allocations: 1.785 MB / 485.3 MB, free: 56.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003433/0.474, allocations: 3.217 MB / 488.5 MB, free: 54.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.474, allocations: 3.719 kB / 488.5 MB, free: 54.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005669/0.4797, allocations: 4.091 MB / 492.6 MB, free: 51.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.4797, allocations: 12 kB / 492.6 MB, free: 51.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.4798, allocations: 12 kB / 492.7 MB, free: 51.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0025/0.4823, allocations: 0.8719 MB / 493.5 MB, free: 50.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.4843, allocations: 0.5265 MB / 494 MB, free: 49.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007798/0.4922, allocations: 9.502 MB / 0.4917 GB, free: 39.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/0.4944, allocations: 119.9 kB / 0.4919 GB, free: 39.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/0.4947, allocations: 84.64 kB / 0.4919 GB, free: 39.77 MB / 382.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.001915/0.4966, allocations: 1.215 MB / 0.4931 GB, free: 38.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005852/0.4972, allocations: 289.5 kB / 0.4934 GB, free: 38.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005003/0.5022, allocations: 3.718 MB / 0.497 GB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.5022, allocations: 20 kB / 0.4971 GB, free: 34.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.5023, allocations: 12 kB / 0.4971 GB, free: 34.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.5023, allocations: 11.95 kB / 0.4971 GB, free: 34.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01086/0.5131, allocations: 8.025 MB / 0.5049 GB, free: 26.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.5132, allocations: 8.062 kB / 0.5049 GB, free: 26.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001424/0.5146, allocations: 383.5 kB / 0.5053 GB, free: 26.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002591/0.5172, allocations: 0.9329 MB / 0.5062 GB, free: 25.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/0.5174, allocations: 55.97 kB / 0.5063 GB, free: 25.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008379/0.5258, allocations: 11.06 MB / 0.5171 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5258, allocations: 4.031 kB / 0.5171 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007015/0.5328, allocations: 5.534 MB / 0.5225 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00153/0.5344, allocations: 0.6436 MB / 0.5231 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004688/0.5349, allocations: 47.98 kB / 0.5231 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.5362, allocations: 119.9 kB / 0.5233 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003792/0.5366, allocations: 177.7 kB / 0.5234 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/0.5367, allocations: 63.98 kB / 0.5235 GB, free: 6.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00197/0.5387, allocations: 1.731 MB / 0.5252 GB, free: 4.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5387, allocations: 0 / 0.5252 GB, free: 4.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002182/0.5409, allocations: 0.795 MB / 0.526 GB, free: 4.199 MB / 382.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.007563/0.5485, allocations: 6.212 MB / 0.532 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006429/0.5549, allocations: 3.9 MB / 0.5358 GB, free: 9.938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.555, allocations: 6.719 kB / 0.5358 GB, free: 9.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004103/0.5591, allocations: 2.479 MB / 0.5383 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003909/0.563, allocations: 0.7834 MB / 0.539 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05175/0.6148, allocations: 29.62 MB / 0.5679 GB, free: 8.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002898/0.6177, allocations: 2.773 MB / 0.5707 GB, free: 5.465 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002141/0.6199, allocations: 0.6749 MB / 0.5713 GB, free: 4.785 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002167/0.6221, allocations: 1.409 MB / 0.5727 GB, free: 3.379 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6221, allocations: 4 kB / 0.5727 GB, free: 3.375 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3276/0.9497, allocations: 73.58 MB / 0.6445 GB, free: 158.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.74, allocations: 2.922 kB / 0.6445 GB, free: 158.4 MB / 494.1 MB " [Timeout remaining time 644] (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: 23.95432495098794]