Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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.001811/0.001811, allocations: 112 kB / 20.43 MB, free: 1.449 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.002244/0.002244, allocations: 188.4 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 47.92 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2531, allocations: 52.2 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01117/0.2643, allocations: 8.918 MB / 431.6 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005445/0.2697, allocations: 2.848 MB / 434.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008539/0.2706, allocations: 55.62 kB / 434.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00159/0.2722, allocations: 0.6401 MB / 435.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001946/0.2741, allocations: 0.7496 MB / 435.9 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007/0.2748, allocations: 335.5 kB / 436.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002684/0.2775, allocations: 2.218 MB / 438.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.279, allocations: 1.02 MB / 439.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.2803, allocations: 1.044 MB / 440.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001885/0.2822, allocations: 1.316 MB / 441.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003708/0.2826, allocations: 272 kB / 442 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006777/0.2832, allocations: 363.8 kB / 442.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008322/0.2841, allocations: 0.7713 MB / 443.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.2854, allocations: 1.206 MB / 444.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0037/0.2891, allocations: 3.53 MB / 447.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2891, allocations: 7.875 kB / 447.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2891, allocations: 0 / 447.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.407e-05/0.2891, allocations: 0 / 447.9 MB, free: 5.199 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.00479/0.2939, allocations: 2.462 MB / 450.4 MB, free: 2.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2939, allocations: 8.031 kB / 450.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003378/0.2943, allocations: 274 kB / 450.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006048/0.2949, allocations: 263.4 kB / 450.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.2971, allocations: 1.246 MB / 452.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.2972, allocations: 131.9 kB / 452.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/0.2975, allocations: 187.9 kB / 452.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003861/0.3014, allocations: 2.378 MB / 454.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.777e-05/0.3014, allocations: 3.953 kB / 454.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.3016, allocations: 72 kB / 454.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.3017, allocations: 95.44 kB / 455 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003423/0.3051, allocations: 1.966 MB / 457 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/0.3157, allocations: 6.945 MB / 463.9 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.3174, allocations: 1.001 MB / 464.9 MB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001564/0.319, allocations: 0.803 MB / 465.7 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/0.3192, allocations: 36.97 kB / 465.8 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.3192, allocations: 51.56 kB / 465.8 MB, free: 2.965 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.595e-06/0.3192, allocations: 4 kB / 465.8 MB, free: 2.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01328/0.3325, allocations: 5.656 MB / 471.5 MB, free: 13.26 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.3325, allocations: 64.41 kB / 471.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.3344, allocations: 1.219 MB / 472.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.153e-05/0.3345, allocations: 41.7 kB / 472.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007498/0.3352, allocations: 0.8908 MB / 473.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.3356, allocations: 388.8 kB / 474.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003558/0.3359, allocations: 218.9 kB / 474.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3361, allocations: 349.9 kB / 474.6 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.3372, allocations: 0.6194 MB / 475.2 MB, free: 9.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.3385, allocations: 0.9188 MB / 476.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/0.3409, allocations: 1.643 MB / 477.8 MB, free: 6.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.3409, allocations: 4 kB / 477.8 MB, free: 6.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003943/0.3448, allocations: 2.145 MB / 480 MB, free: 4.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.3448, allocations: 12 kB / 480 MB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.3449, allocations: 11.94 kB / 480 MB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.346, allocations: 479.4 kB / 480.4 MB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009565/0.3469, allocations: 271.6 kB / 480.7 MB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007054/0.354, allocations: 6.711 MB / 487.4 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.355, allocations: 91.92 kB / 487.5 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/0.3551, allocations: 44 kB / 487.6 MB, free: 12.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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.001007/0.3561, allocations: 0.6061 MB / 488.2 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002661/0.3564, allocations: 143 kB / 488.3 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/0.3601, allocations: 1.941 MB / 490.2 MB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.3601, allocations: 15.98 kB / 490.3 MB, free: 9.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3601, allocations: 8 kB / 490.3 MB, free: 9.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.3601, allocations: 3.984 kB / 490.3 MB, free: 9.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007132/0.3673, allocations: 4.084 MB / 494.4 MB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.3673, allocations: 7.938 kB / 494.4 MB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007291/0.368, allocations: 183.7 kB / 494.5 MB, free: 5.375 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/0.3693, allocations: 0.5158 MB / 495.1 MB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.505e-05/0.3694, allocations: 31.98 kB / 495.1 MB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008799/0.3782, allocations: 8.221 MB / 0.4915 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.658e-06/0.3782, allocations: 7.938 kB / 0.4915 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00483/0.383, allocations: 2.871 MB / 0.4943 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008468/0.3839, allocations: 271 kB / 0.4946 GB, free: 8.906 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.3841, allocations: 35.92 kB / 0.4946 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000746/0.3848, allocations: 75.86 kB / 0.4947 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.385, allocations: 88.83 kB / 0.4948 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/0.3851, allocations: 43.86 kB / 0.4948 GB, free: 8.668 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001244/0.3864, allocations: 0.8304 MB / 0.4956 GB, free: 7.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3864, allocations: 0 / 0.4956 GB, free: 7.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001383/0.3877, allocations: 415.9 kB / 0.496 GB, free: 7.426 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (88): * Single equations (assignments): 83 * 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.005199/0.3929, allocations: 3.49 MB / 0.4994 GB, free: 3.848 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003469/0.3964, allocations: 1.944 MB / 0.5013 GB, free: 1.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/0.3964, allocations: 4 kB / 0.5013 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002164/0.3986, allocations: 1.35 MB / 0.5027 GB, free: 464 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.4002, allocations: 389.2 kB / 0.503 GB, free: 80 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02325/0.4235, allocations: 15.01 MB / 0.5177 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/0.4251, allocations: 1.634 MB / 0.5193 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008493/0.4259, allocations: 299.8 kB / 0.5196 GB, free: 14.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009/0.4268, allocations: 0.6828 MB / 0.5202 GB, free: 13.86 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4268, allocations: 0 / 0.5202 GB, free: 13.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2843/0.7111, allocations: 38.55 MB / 0.5579 GB, free: 94.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.66, allocations: 13.58 kB / 0.5579 GB, free: 94.51 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.149383415002376]