Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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.001724/0.001724, 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.002007/0.002007, 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.341/1.341, 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_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter",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.001751/0.001751, allocations: 51.92 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2424, allocations: 49.16 MB / 396.4 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.007979/0.2504, allocations: 7.808 MB / 404.2 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00474/0.2551, allocations: 2.736 MB / 406.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.2562, allocations: 48.53 kB / 406.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.2575, allocations: 0.5833 MB / 407.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.2594, allocations: 0.7497 MB / 408.3 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006344/0.26, allocations: 323.2 kB / 408.6 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002315/0.2623, allocations: 2.237 MB / 410.8 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/0.2637, allocations: 0.9612 MB / 411.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001609/0.2653, allocations: 1.038 MB / 412.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/0.2672, allocations: 1.236 MB / 414.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003457/0.2676, allocations: 270.3 kB / 414.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007268/0.2683, allocations: 347.5 kB / 414.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007592/0.2691, allocations: 0.7743 MB / 415.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.2702, allocations: 0.9765 MB / 416.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003609/0.2738, allocations: 3.558 MB / 420 MB, free: 10 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2738, allocations: 0 / 420 MB, free: 10 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2738, allocations: 5.375 kB / 420 MB, free: 10 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.998e-05/0.2739, allocations: 0 / 420 MB, free: 10 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.00585/0.2797, allocations: 2.461 MB / 422.4 MB, free: 8.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.2798, allocations: 13.89 kB / 422.5 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003698/0.2801, allocations: 270.8 kB / 422.7 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007413/0.2809, allocations: 263 kB / 423 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.2833, allocations: 1.158 MB / 424.1 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.2835, allocations: 149.1 kB / 424.3 MB, free: 7.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/0.2838, allocations: 179.9 kB / 424.5 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004098/0.2878, allocations: 2.475 MB / 426.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.103e-05/0.2879, allocations: 4 kB / 426.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.2881, allocations: 75.98 kB / 427 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.2882, allocations: 91.5 kB / 427.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00342/0.2916, allocations: 1.958 MB / 429.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/0.3027, allocations: 6.391 MB / 435.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.3044, allocations: 0.9807 MB / 436.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.3059, allocations: 0.8037 MB / 437.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.3061, allocations: 40.95 kB / 437.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.3062, allocations: 47.5 kB / 437.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.765e-06/0.3062, allocations: 8 kB / 437.3 MB, free: 9.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.01341/0.3196, allocations: 5.547 MB / 442.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.3196, allocations: 64.41 kB / 442.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.3216, allocations: 1.23 MB / 444.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.3217, allocations: 45.7 kB / 444.2 MB, free: 2.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007714/0.3225, allocations: 0.887 MB / 445.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003837/0.3229, allocations: 384.8 kB / 445.5 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003598/0.3232, allocations: 214.9 kB / 445.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.3234, allocations: 357.9 kB / 446 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.3245, allocations: 0.6116 MB / 446.6 MB, free: 316 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.3259, allocations: 0.9275 MB / 447.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/0.3284, allocations: 1.636 MB / 449.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.3284, allocations: 4 kB / 449.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004035/0.3324, allocations: 2.141 MB / 451.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.3325, allocations: 8 kB / 451.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.3325, allocations: 8 kB / 451.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.3337, allocations: 480.1 kB / 451.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.3347, allocations: 271.6 kB / 452.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007076/0.3418, allocations: 6.665 MB / 458.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.343, allocations: 83.97 kB / 458.9 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.3431, allocations: 48 kB / 458.9 MB, free: 3.414 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 127 * 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%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00102/0.3441, allocations: 0.5988 MB / 459.5 MB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.3444, allocations: 143 kB / 459.6 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/0.3479, allocations: 1.941 MB / 461.6 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.3479, allocations: 11.98 kB / 461.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3479, allocations: 4 kB / 461.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.3479, allocations: 7.984 kB / 461.6 MB, free: 0.668 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007101/0.355, allocations: 3.887 MB / 465.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.355, allocations: 4.531 kB / 465.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007376/0.3558, allocations: 187.6 kB / 465.7 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/0.3571, allocations: 0.5115 MB / 466.2 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-05/0.3572, allocations: 35.98 kB / 466.2 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008098/0.3653, allocations: 8.159 MB / 474.4 MB, free: 3.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.145e-06/0.3653, allocations: 11.92 kB / 474.4 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00464/0.3699, allocations: 2.867 MB / 477.3 MB, free: 352 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007878/0.3707, allocations: 275 kB / 477.5 MB, free: 76 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.3709, allocations: 35.92 kB / 477.6 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007705/0.3717, allocations: 76 kB / 477.6 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/0.3719, allocations: 96.7 kB / 477.7 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.242e-05/0.372, allocations: 35.98 kB / 477.8 MB, free: 15.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001203/0.3732, allocations: 0.8304 MB / 478.6 MB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3732, allocations: 0 / 478.6 MB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001398/0.3746, allocations: 408 kB / 479 MB, free: 14.6 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 84 * 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,6,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.00523/0.3798, allocations: 3.506 MB / 482.5 MB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003515/0.3833, allocations: 1.94 MB / 484.4 MB, free: 9.012 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3833, allocations: 3.938 kB / 484.4 MB, free: 9.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002348/0.3857, allocations: 1.358 MB / 485.8 MB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/0.3882, allocations: 385 kB / 486.2 MB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02503/0.4132, allocations: 15.02 MB / 0.4895 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.4145, allocations: 1.054 MB / 0.4905 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009183/0.4154, allocations: 295.8 kB / 0.4908 GB, free: 6.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009546/0.4164, allocations: 0.6867 MB / 0.4914 GB, free: 5.539 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4164, allocations: 0 / 0.4914 GB, free: 5.539 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/0.5322, allocations: 40.18 MB / 0.5307 GB, free: 13.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.53, allocations: 0 / 0.5307 GB, free: 13.23 MB / 462.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Inverter.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_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_Inverter/AIMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 16.671046385075897]