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.00171/0.00171, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.001639/0.001639, allocations: 216.7 kB / 24.49 MB, free: 4.094 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.676/1.676, 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_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.001804/0.001804, allocations: 56.39 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3234, allocations: 49.16 MB / 396.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.009404/0.3328, allocations: 8.872 MB / 405.2 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006417/0.3392, allocations: 2.908 MB / 408.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.3409, allocations: 51.38 kB / 408.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002428/0.3433, allocations: 0.6411 MB / 408.8 MB, free: 256 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004048/0.3474, allocations: 0.7449 MB / 409.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.3486, allocations: 330.2 kB / 409.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004101/0.3527, allocations: 2.247 MB / 412.1 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.3545, allocations: 0.9877 MB / 413.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002709/0.3572, allocations: 1.037 MB / 414.2 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/0.3602, allocations: 1.326 MB / 415.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005118/0.3607, allocations: 269.7 kB / 415.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.3617, allocations: 359.5 kB / 416.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009399/0.3627, allocations: 0.7706 MB / 416.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00188/0.3646, allocations: 1.21 MB / 418.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005655/0.3702, allocations: 3.535 MB / 421.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3702, allocations: 1.312 kB / 421.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.3702, allocations: 0 / 421.6 MB, free: 8.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001039/0.3703, allocations: 0 / 421.6 MB, free: 8.379 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.006442/0.3768, allocations: 2.461 MB / 424.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.3768, allocations: 13.42 kB / 424.1 MB, free: 6.676 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004454/0.3773, allocations: 271.3 kB / 424.4 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008238/0.3781, allocations: 266.3 kB / 424.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/0.3809, allocations: 1.162 MB / 425.8 MB, free: 5.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.381, allocations: 135.3 kB / 425.9 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000323/0.3813, allocations: 185.2 kB / 426.1 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004366/0.3857, allocations: 2.374 MB / 428.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/0.3857, allocations: 4 kB / 428.5 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001751/0.3859, allocations: 75.98 kB / 428.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.386, allocations: 99.48 kB / 428.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003646/0.3897, allocations: 1.958 MB / 430.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01306/0.4027, allocations: 6.957 MB / 437.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.4046, allocations: 0.9914 MB / 438.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.4062, allocations: 0.8031 MB / 439.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.4064, allocations: 48.89 kB / 439.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.4065, allocations: 47.56 kB / 439.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 3.206e-06/0.4065, allocations: 0 / 439.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.01484/0.4213, allocations: 5.539 MB / 445 MB, free: 2.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.4214, allocations: 68.41 kB / 445.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.4235, allocations: 1.211 MB / 446.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001387/0.4236, allocations: 41.7 kB / 446.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007953/0.4244, allocations: 0.8871 MB / 447.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004017/0.4248, allocations: 392.7 kB / 447.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/0.4252, allocations: 218.9 kB / 447.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.4254, allocations: 353.9 kB / 448.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.4265, allocations: 0.6154 MB / 448.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.4279, allocations: 0.9236 MB / 449.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002479/0.4303, allocations: 1.644 MB / 451.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.4304, allocations: 4 kB / 451.3 MB, free: 11.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004219/0.4346, allocations: 2.137 MB / 453.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/0.4346, allocations: 12 kB / 453.5 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.4346, allocations: 8 kB / 453.5 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.4358, allocations: 480.2 kB / 454 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.4368, allocations: 271.6 kB / 454.2 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007887/0.4447, allocations: 6.707 MB / 460.9 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.4463, allocations: 79.92 kB / 461 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.4465, allocations: 47.98 kB / 461.1 MB, free: 1.477 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.001385/0.4479, allocations: 0.6028 MB / 461.7 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003851/0.4482, allocations: 147.1 kB / 461.8 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003801/0.452, allocations: 1.941 MB / 463.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.4521, allocations: 15.94 kB / 463.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.4521, allocations: 8 kB / 463.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.4521, allocations: 3.984 kB / 463.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007998/0.4601, allocations: 4.094 MB / 467.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.4601, allocations: 4 kB / 467.9 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007647/0.4609, allocations: 175.8 kB / 468 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001414/0.4623, allocations: 0.5197 MB / 468.6 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-05/0.4624, allocations: 35.92 kB / 468.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008856/0.4712, allocations: 8.208 MB / 476.8 MB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.4712, allocations: 11.88 kB / 476.8 MB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005326/0.4766, allocations: 2.867 MB / 479.7 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.4776, allocations: 275 kB / 479.9 MB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002653/0.4779, allocations: 35.92 kB / 480 MB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007949/0.4787, allocations: 71.92 kB / 480.1 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/0.4789, allocations: 100.7 kB / 480.2 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.432e-05/0.479, allocations: 39.88 kB / 480.2 MB, free: 13.63 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001361/0.4804, allocations: 0.8343 MB / 481 MB, free: 12.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4804, allocations: 0 / 481 MB, free: 12.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001688/0.4821, allocations: 411.9 kB / 481.4 MB, free: 12.39 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.005629/0.4877, allocations: 3.494 MB / 484.9 MB, free: 8.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003983/0.4917, allocations: 1.937 MB / 486.9 MB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.4917, allocations: 0 / 486.9 MB, free: 6.812 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002431/0.4941, allocations: 1.361 MB / 488.2 MB, free: 5.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.4964, allocations: 388.6 kB / 488.6 MB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02705/0.5234, allocations: 15.02 MB / 0.4918 GB, free: 5.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/0.5251, allocations: 1.634 MB / 0.4934 GB, free: 3.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001047/0.5261, allocations: 299.8 kB / 0.4937 GB, free: 3.449 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009719/0.5271, allocations: 0.6867 MB / 0.4944 GB, free: 2.762 MB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5271, allocations: 0 / 0.4944 GB, free: 2.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1201/0.6472, allocations: 38.62 MB / 0.5321 GB, free: 12.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.41, allocations: 3.938 kB / 0.5321 GB, free: 12.03 MB / 462.1 MB " [Timeout remaining time 645] (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: 19.204394530970603]