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.0008693/0.0008693, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009075/0.0009075, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8981/0.8981, allocations: 173.4 MB / 200.5 MB, free: 9.414 MB / 186.7 MB " [Timeout remaining time 179] 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 1.763e-06/1.763e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/1.98e-05, allocations: 6.219 kB / 318.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.006745/0.006765, allocations: 7.839 MB / 326.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00403/0.01079, allocations: 2.679 MB / 329 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007819/0.01158, allocations: 55.62 kB / 329 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.0127, allocations: 0.6015 MB / 329.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.01413, allocations: 0.7722 MB / 330.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.01463, allocations: 323.5 kB / 330.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001731/0.01636, allocations: 2.31 MB / 333 MB, free: 7.699 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009858/0.01735, allocations: 0.9774 MB / 334 MB, free: 6.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.01879, allocations: 1.52 MB / 335.5 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.0201, allocations: 1.114 MB / 336.6 MB, free: 4.039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003582/0.02046, allocations: 268 kB / 336.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004721/0.02093, allocations: 351.8 kB / 337.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005116/0.02144, allocations: 0.7947 MB / 338 MB, free: 2.637 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006507/0.02209, allocations: 0.8302 MB / 338.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002517/0.02461, allocations: 3.572 MB / 342.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.02461, allocations: 0 / 342.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.02461, allocations: 0 / 342.4 MB, free: 14.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.373e-05/0.02466, allocations: 0 / 342.4 MB, free: 14.22 MB / 314.7 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.003509/0.02817, allocations: 2.458 MB / 344.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.02821, allocations: 12.92 kB / 344.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002589/0.02847, allocations: 266 kB / 345.2 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004539/0.02892, allocations: 259.5 kB / 345.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.0304, allocations: 1.234 MB / 346.7 MB, free: 9.918 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.96e-05/0.03047, allocations: 131.9 kB / 346.8 MB, free: 9.789 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.03065, allocations: 188.3 kB / 347 MB, free: 9.605 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.03324, allocations: 2.479 MB / 349.4 MB, free: 7.066 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.03327, allocations: 7.953 kB / 349.5 MB, free: 7.059 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.03339, allocations: 72 kB / 349.5 MB, free: 6.988 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.795e-05/0.03346, allocations: 91.5 kB / 349.6 MB, free: 6.898 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/0.03577, allocations: 1.962 MB / 351.6 MB, free: 4.934 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00795/0.04372, allocations: 6.379 MB / 358 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.04495, allocations: 0.9891 MB / 358.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009624/0.04592, allocations: 0.8031 MB / 359.7 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.04607, allocations: 53.45 kB / 359.8 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.04611, allocations: 43.5 kB / 359.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=87): time 2.715e-06/0.04611, allocations: 0 / 359.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.008393/0.0545, allocations: 5.649 MB / 365.5 MB, free: 6.758 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.05455, allocations: 68.34 kB / 365.6 MB, free: 6.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.05601, allocations: 1.226 MB / 366.8 MB, free: 5.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.537e-05/0.05609, allocations: 41.7 kB / 366.8 MB, free: 5.395 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/0.05657, allocations: 0.8947 MB / 367.7 MB, free: 4.488 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.05679, allocations: 376.8 kB / 368.1 MB, free: 4.117 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/0.05704, allocations: 218.9 kB / 368.3 MB, free: 3.898 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.05714, allocations: 357.9 kB / 368.7 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000686/0.05783, allocations: 0.6232 MB / 369.3 MB, free: 2.918 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008119/0.05864, allocations: 0.9186 MB / 370.2 MB, free: 1.875 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.06021, allocations: 1.643 MB / 371.8 MB, free: 108 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.06022, allocations: 4 kB / 371.8 MB, free: 104 kB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002466/0.06268, allocations: 2.145 MB / 374 MB, free: 13.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.06271, allocations: 14.91 kB / 374 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.06272, allocations: 8 kB / 374 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007749/0.06349, allocations: 491.3 kB / 374.5 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005632/0.06406, allocations: 267.6 kB / 374.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004415/0.06847, allocations: 6.672 MB / 381.4 MB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006532/0.06913, allocations: 79.91 kB / 381.5 MB, free: 6.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/0.06919, allocations: 44 kB / 381.5 MB, free: 6.027 MB / 346.7 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.0008206/0.07001, allocations: 0.6065 MB / 382.1 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.07018, allocations: 139.1 kB / 382.3 MB, free: 5.277 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.07242, allocations: 1.944 MB / 384.2 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.07242, allocations: 12 kB / 384.2 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.07243, allocations: 4 kB / 384.2 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.07244, allocations: 3.984 kB / 384.2 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004729/0.07717, allocations: 3.886 MB / 388.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.07717, allocations: 4 kB / 388.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.07759, allocations: 175.8 kB / 388.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007849/0.07837, allocations: 0.5197 MB / 388.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.988e-05/0.07844, allocations: 31.98 kB / 388.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006105/0.08455, allocations: 8.162 MB / 397 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.08455, allocations: 8 kB / 397 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003387/0.08794, allocations: 2.855 MB / 399.9 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006183/0.08856, allocations: 275 kB / 400.2 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.08869, allocations: 28 kB / 400.2 MB, free: 2.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/0.08913, allocations: 79.86 kB / 400.3 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/0.08933, allocations: 96.7 kB / 400.4 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.08938, allocations: 35.98 kB / 400.4 MB, free: 2.488 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001007/0.09038, allocations: 0.8304 MB / 401.2 MB, free: 1.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.09038, allocations: 0 / 401.2 MB, free: 1.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001135/0.09152, allocations: 411.9 kB / 401.6 MB, free: 1.25 MB / 362.7 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.003435/0.09495, allocations: 3.482 MB / 405.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002302/0.09725, allocations: 1.945 MB / 407 MB, free: 11.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.09726, allocations: 0 / 407 MB, free: 11.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001297/0.09856, allocations: 1.368 MB / 408.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.09965, allocations: 390.1 kB / 408.8 MB, free: 9.891 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/0.1176, allocations: 14.89 MB / 423.7 MB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.1187, allocations: 1.058 MB / 424.7 MB, free: 9.336 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000647/0.1194, allocations: 295.8 kB / 425 MB, free: 9.043 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006624/0.12, allocations: 0.6917 MB / 425.7 MB, free: 8.352 MB / 394.7 MB Notification: Performance of SimCode: time 1.483e-06/0.12, allocations: 0 / 425.7 MB, free: 8.352 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1939/0.3139, allocations: 40.16 MB / 465.9 MB, free: 114.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.449, allocations: 9.469 kB / 465.9 MB, free: 114.1 MB / 410.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/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: 11.43719848524779]