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.001279/0.001279, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.001485/0.001485, allocations: 215.5 kB / 24.5 MB, free: 4.027 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.672/1.672, allocations: 207.6 MB / 235.3 MB, free: 10 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.002819/0.002819, allocations: 51.94 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3781, allocations: 49.16 MB / 396.4 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.0139/0.392, allocations: 12.91 MB / 409.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.4033, allocations: 4.28 MB / 413.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003693/0.407, allocations: 86.12 kB / 413.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003736/0.4107, allocations: 1.024 MB / 414.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00557/0.4163, allocations: 1.247 MB / 415.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001826/0.4181, allocations: 0.5296 MB / 416.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008466/0.4266, allocations: 4.668 MB / 421.1 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003552/0.4302, allocations: 2.031 MB / 423.1 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004984/0.4351, allocations: 2.169 MB / 425.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006437/0.4416, allocations: 2.622 MB / 427.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001623/0.4432, allocations: 0.5552 MB / 428.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.4462, allocations: 0.6521 MB / 429.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002001/0.4482, allocations: 1.531 MB / 430.7 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00482/0.4531, allocations: 2.485 MB / 433.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01048/0.4635, allocations: 7.448 MB / 440.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.4635, allocations: 0 / 440.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.4635, allocations: 0 / 440.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004073/0.464, allocations: 0 / 440.6 MB, free: 7.078 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.01316/0.4771, allocations: 4.72 MB / 445.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.4772, allocations: 15.98 kB / 445.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008425/0.478, allocations: 0.4981 MB / 445.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001466/0.4795, allocations: 0.5175 MB / 446.4 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005309/0.4848, allocations: 2.368 MB / 448.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002351/0.485, allocations: 263.1 kB / 449 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006956/0.4857, allocations: 351.9 kB / 449.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009704/0.4954, allocations: 5.021 MB / 454.3 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.701e-05/0.4955, allocations: 11.89 kB / 454.4 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003533/0.4959, allocations: 148 kB / 454.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/0.4961, allocations: 183 kB / 454.7 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008693/0.5048, allocations: 4.287 MB / 459 MB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03278/0.5375, allocations: 14.6 MB / 473.6 MB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00523/0.5428, allocations: 2.7 MB / 476.3 MB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003832/0.5466, allocations: 1.87 MB / 478.1 MB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003656/0.547, allocations: 61.91 kB / 478.2 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.114e-05/0.547, allocations: 56.56 kB / 478.3 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 4.458e-06/0.547, allocations: 0 / 478.3 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.02491/0.572, allocations: 9.687 MB / 487.9 MB, free: 7.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.645e-05/0.572, allocations: 73.41 kB / 488 MB, free: 7.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005383/0.5774, allocations: 2.502 MB / 490.5 MB, free: 4.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004874/0.5779, allocations: 65.7 kB / 490.6 MB, free: 4.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001597/0.5795, allocations: 1.662 MB / 492.2 MB, free: 2.875 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001096/0.5806, allocations: 0.763 MB / 493 MB, free: 2.105 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/0.5817, allocations: 420.4 kB / 493.4 MB, free: 1.688 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5819, allocations: 305.1 kB / 493.7 MB, free: 1.387 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002381/0.5842, allocations: 1.304 MB / 495 MB, free: 80 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002869/0.5871, allocations: 1.778 MB / 496.8 MB, free: 14.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005239/0.5924, allocations: 3.223 MB / 0.4883 GB, free: 10.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/0.5924, allocations: 4 kB / 0.4883 GB, free: 10.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008395/0.6008, allocations: 4.065 MB / 0.4923 GB, free: 6.617 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.6008, allocations: 8 kB / 0.4923 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/0.6008, allocations: 16.47 kB / 0.4923 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003089/0.6039, allocations: 0.8787 MB / 0.4932 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002315/0.6062, allocations: 0.5227 MB / 0.4937 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.6182, allocations: 9.169 MB / 0.5026 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/0.6206, allocations: 123.9 kB / 0.5027 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004016/0.621, allocations: 84 kB / 0.5028 GB, free: 11.46 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.002891/0.6239, allocations: 1.211 MB / 0.504 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00108/0.625, allocations: 294.1 kB / 0.5043 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007446/0.6325, allocations: 3.699 MB / 0.5079 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/0.6325, allocations: 24 kB / 0.5079 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.481e-05/0.6325, allocations: 4 kB / 0.5079 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.778e-05/0.6325, allocations: 11.91 kB / 0.5079 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/0.6499, allocations: 8.008 MB / 0.5157 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.6499, allocations: 4 kB / 0.5158 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/0.6516, allocations: 391.8 kB / 0.5161 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003398/0.655, allocations: 0.9174 MB / 0.517 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000214/0.6552, allocations: 55.97 kB / 0.5171 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/0.6694, allocations: 10.66 MB / 0.5275 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.6694, allocations: 0 / 0.5275 GB, free: 1.559 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/0.6796, allocations: 5.51 MB / 0.5329 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/0.6818, allocations: 0.5761 MB / 0.5334 GB, free: 11.4 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009253/0.6827, allocations: 55.92 kB / 0.5335 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001947/0.6847, allocations: 119.9 kB / 0.5336 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005256/0.6852, allocations: 185.7 kB / 0.5338 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/0.6854, allocations: 59.98 kB / 0.5338 GB, free: 10.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003861/0.6892, allocations: 1.727 MB / 0.5355 GB, free: 9.246 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6892, allocations: 0 / 0.5355 GB, free: 9.246 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003933/0.6932, allocations: 0.7969 MB / 0.5363 GB, free: 8.449 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.01069/0.7039, allocations: 6.217 MB / 0.5424 GB, free: 2.156 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006986/0.7108, allocations: 3.617 MB / 0.5459 GB, free: 14.49 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/0.7109, allocations: 4 kB / 0.5459 GB, free: 14.49 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004207/0.7151, allocations: 2.314 MB / 0.5482 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/0.7198, allocations: 0.7843 MB / 0.5489 GB, free: 11.33 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2913/1.011, allocations: 29.63 MB / 0.5779 GB, free: 139.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00321/1.014, allocations: 2.766 MB / 0.5806 GB, free: 138 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00234/1.017, allocations: 0.6855 MB / 0.5812 GB, free: 138 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002123/1.019, allocations: 1.408 MB / 0.5826 GB, free: 136.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.974e-06/1.019, allocations: 0 / 0.5826 GB, free: 136.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/1.151, allocations: 75.99 MB / 0.6568 GB, free: 65.69 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.86/18.01, allocations: 7.922 kB / 0.6568 GB, free: 65.68 MB / 478.1 MB " [Timeout remaining time 642] (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: 26.970832247985527]