Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.001328/0.001328, allocations: 103.6 kB / 21.18 MB, free: 332 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.00146/0.00146, allocations: 210.9 kB / 24.47 MB, free: 3.547 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.368/1.368, 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_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",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.001733/0.001733, allocations: 55.92 kB / 347.2 MB, free: 9.871 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2651, 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_Steinmetz): time 0.009938/0.275, allocations: 8.539 MB / 404.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005941/0.2809, allocations: 2.905 MB / 407.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.2832, allocations: 49.94 kB / 407.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.2856, allocations: 0.6285 MB / 408.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003431/0.289, allocations: 0.783 MB / 409.3 MB, free: 388 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.2902, allocations: 378.9 kB / 409.6 MB, free: 156 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004076/0.2943, allocations: 2.462 MB / 412.1 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.2959, allocations: 0.9823 MB / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.2978, allocations: 1.097 MB / 414.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/0.3001, allocations: 1.247 MB / 415.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000517/0.3006, allocations: 283.5 kB / 415.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.3017, allocations: 364.1 kB / 416.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008972/0.3026, allocations: 0.7844 MB / 416.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.3042, allocations: 1.029 MB / 417.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004589/0.3087, allocations: 3.681 MB / 421.6 MB, free: 8.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3087, allocations: 0 / 421.6 MB, free: 8.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3088, allocations: 1.781 kB / 421.6 MB, free: 8.824 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.818e-05/0.3088, allocations: 0 / 421.6 MB, free: 8.824 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006343/0.3152, allocations: 2.565 MB / 424.1 MB, free: 7.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.3152, allocations: 13.55 kB / 424.1 MB, free: 7.051 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003955/0.3156, allocations: 281.2 kB / 424.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007555/0.3164, allocations: 281.3 kB / 424.7 MB, free: 6.664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/0.319, allocations: 1.196 MB / 425.9 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.3191, allocations: 144.1 kB / 426 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/0.3194, allocations: 203.9 kB / 426.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004097/0.3235, allocations: 2.519 MB / 428.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.445e-05/0.3236, allocations: 8 kB / 428.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.3237, allocations: 76 kB / 428.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.3239, allocations: 87.67 kB / 428.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/0.3272, allocations: 1.955 MB / 430.9 MB, free: 388 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.3391, allocations: 7.06 MB / 437.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.3408, allocations: 1.01 MB / 438.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.3426, allocations: 0.9016 MB / 439.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.3428, allocations: 52.89 kB / 439.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.389e-05/0.3429, allocations: 39.56 kB / 439.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 3.176e-06/0.3429, allocations: 0 / 439.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=111): time 0.01348/0.3564, allocations: 5.513 MB / 445.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.3564, allocations: 68.34 kB / 445.5 MB, free: 1.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.3588, allocations: 1.325 MB / 446.8 MB, free: 92 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002614/0.3591, allocations: 49.7 kB / 446.9 MB, free: 36 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008228/0.3599, allocations: 0.938 MB / 447.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004632/0.3603, allocations: 404.5 kB / 448.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004302/0.3608, allocations: 251.5 kB / 448.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.361, allocations: 357.9 kB / 448.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.3621, allocations: 0.6403 MB / 449.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.3634, allocations: 1.004 MB / 450.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002462/0.3658, allocations: 1.731 MB / 452.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.3658, allocations: 4 kB / 452.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004012/0.3698, allocations: 2.242 MB / 454.4 MB, free: 8.133 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.3699, allocations: 8 kB / 454.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.3699, allocations: 12 kB / 454.4 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.3711, allocations: 492.2 kB / 454.9 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.3722, allocations: 311.5 kB / 455.2 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007705/0.3799, allocations: 6.768 MB / 462 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.3812, allocations: 79.92 kB / 462.1 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.3813, allocations: 59.92 kB / 462.1 MB, free: 64 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001151/0.3824, allocations: 0.6066 MB / 462.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/0.3827, allocations: 155 kB / 462.9 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/0.3863, allocations: 1.953 MB / 464.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.3863, allocations: 15.94 kB / 464.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.3863, allocations: 4 kB / 464.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.3863, allocations: 7.969 kB / 464.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007165/0.3935, allocations: 3.863 MB / 468.7 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.3935, allocations: 0 / 468.7 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007961/0.3943, allocations: 187.8 kB / 468.9 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001456/0.3957, allocations: 0.5429 MB / 469.5 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.752e-05/0.3958, allocations: 35.92 kB / 469.5 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008665/0.4045, allocations: 8.278 MB / 477.8 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/0.4045, allocations: 16.03 kB / 477.8 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004649/0.4091, allocations: 2.844 MB / 480.6 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008881/0.41, allocations: 290.8 kB / 480.9 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.4102, allocations: 28 kB / 480.9 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007626/0.411, allocations: 63.92 kB / 481 MB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/0.4112, allocations: 92.77 kB / 481.1 MB, free: 12.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.4113, allocations: 31.98 kB / 481.1 MB, free: 12.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001354/0.4127, allocations: 0.8956 MB / 482 MB, free: 11.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4127, allocations: 384 / 482 MB, free: 11.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001578/0.4142, allocations: 439.9 kB / 482.5 MB, free: 11.08 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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%), (2,8,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.005109/0.4194, allocations: 3.483 MB / 485.9 MB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003661/0.423, allocations: 2 MB / 487.9 MB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.423, allocations: 0 / 487.9 MB, free: 5.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002446/0.4255, allocations: 1.38 MB / 489.3 MB, free: 4.051 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002173/0.4276, allocations: 420.5 kB / 489.7 MB, free: 3.637 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/0.4534, allocations: 15.69 MB / 0.4936 GB, free: 3.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.4547, allocations: 1.076 MB / 0.4946 GB, free: 2.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001026/0.4557, allocations: 320.8 kB / 0.4949 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009764/0.4567, allocations: 0.7141 MB / 0.4956 GB, free: 1.238 MB / 414.1 MB Notification: Performance of SimCode: time 1.222e-06/0.4567, allocations: 0 / 0.4956 GB, free: 1.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1151/0.5717, allocations: 42.61 MB / 0.5372 GB, free: 6.484 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.74, allocations: 15.98 kB / 0.5373 GB, free: 6.469 MB / 462.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_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_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.15262505179271]