Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.0008257/0.0008257, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001271/0.001271, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8568/0.8568, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_Inverter,fileNamePrefix="Modelica_4_1_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_1_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.293e-06/1.293e-06, allocations: 0 / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.947e-06/1.024e-05, allocations: 6.219 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.006146/0.006156, allocations: 7.895 MB / 332.5 MB, free: 7.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003387/0.009543, allocations: 2.738 MB / 335.2 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005562/0.0101, allocations: 59.62 kB / 335.3 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009891/0.01109, allocations: 0.5938 MB / 335.9 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.01231, allocations: 0.7645 MB / 336.6 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.01275, allocations: 347.3 kB / 337 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.01419, allocations: 2.31 MB / 339.3 MB, free: 1.137 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008525/0.01504, allocations: 0.9813 MB / 340.3 MB, free: 120 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.01621, allocations: 1.524 MB / 341.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009265/0.01714, allocations: 1.118 MB / 342.9 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002115/0.01735, allocations: 268 kB / 343.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003654/0.01772, allocations: 367.7 kB / 343.5 MB, free: 12.85 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004386/0.01815, allocations: 0.7907 MB / 344.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005465/0.0187, allocations: 0.838 MB / 345.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.02073, allocations: 3.583 MB / 348.7 MB, free: 7.621 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.02073, allocations: 0 / 348.7 MB, free: 7.621 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.02073, allocations: 0 / 348.7 MB, free: 7.621 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.487e-05/0.02076, allocations: 0 / 348.7 MB, free: 7.621 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.002583/0.02334, allocations: 2.454 MB / 351.2 MB, free: 5.125 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.02338, allocations: 8.031 kB / 351.2 MB, free: 5.117 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002142/0.02359, allocations: 270 kB / 351.5 MB, free: 4.844 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003638/0.02395, allocations: 263.4 kB / 351.7 MB, free: 4.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.02523, allocations: 1.245 MB / 353 MB, free: 3.293 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.238e-05/0.02529, allocations: 135.9 kB / 353.1 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.02546, allocations: 184.3 kB / 353.3 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.02773, allocations: 2.475 MB / 355.8 MB, free: 456 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.02777, allocations: 11.89 kB / 355.8 MB, free: 444 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.02787, allocations: 68 kB / 355.8 MB, free: 376 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.371e-05/0.02794, allocations: 99.5 kB / 355.9 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.02997, allocations: 1.954 MB / 357.9 MB, free: 14.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005958/0.03592, allocations: 6.383 MB / 364.3 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.037, allocations: 0.9817 MB / 365.3 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009022/0.03791, allocations: 0.8148 MB / 366.1 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.03804, allocations: 40.97 kB / 366.1 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.03807, allocations: 43.55 kB / 366.1 MB, free: 5.848 MB / 330.7 MB Notification: Performance of pre-optimization done (n=87): time 3.106e-06/0.03807, allocations: 7.922 kB / 366.2 MB, free: 5.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=104): time 0.007573/0.04564, allocations: 5.658 MB / 371.8 MB, free: 140 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.04568, allocations: 60.41 kB / 371.9 MB, free: 68 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.04679, allocations: 1.231 MB / 373.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/0.04684, allocations: 49.64 kB / 373.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/0.04728, allocations: 0.8908 MB / 374 MB, free: 13.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.04748, allocations: 372.8 kB / 374.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002173/0.04769, allocations: 222.9 kB / 374.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.04779, allocations: 365.9 kB / 375 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006159/0.04841, allocations: 0.6077 MB / 375.6 MB, free: 12.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007332/0.04914, allocations: 0.9227 MB / 376.5 MB, free: 11.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.05055, allocations: 1.643 MB / 378.2 MB, free: 9.488 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.05056, allocations: 0 / 378.2 MB, free: 9.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002165/0.05272, allocations: 2.153 MB / 380.3 MB, free: 7.316 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.05274, allocations: 8 kB / 380.3 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.05275, allocations: 8 kB / 380.3 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006251/0.05338, allocations: 483.6 kB / 380.8 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.05388, allocations: 271.6 kB / 381.1 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004085/0.05797, allocations: 6.661 MB / 387.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.05843, allocations: 79.88 kB / 387.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.05849, allocations: 55.98 kB / 387.9 MB, free: 15.41 MB / 362.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.0006362/0.05913, allocations: 0.5978 MB / 388.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.05927, allocations: 143.1 kB / 388.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002015/0.06128, allocations: 1.937 MB / 390.5 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.06129, allocations: 12 kB / 390.5 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.06129, allocations: 8 kB / 390.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.0613, allocations: 7.969 kB / 390.6 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/0.06529, allocations: 3.897 MB / 394.5 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.06529, allocations: 4 kB / 394.5 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003749/0.06567, allocations: 175.7 kB / 394.6 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007101/0.06638, allocations: 0.5225 MB / 395.2 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.06643, allocations: 31.98 kB / 395.2 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004667/0.07109, allocations: 8.159 MB / 403.3 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.0711, allocations: 7.938 kB / 403.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.07374, allocations: 2.855 MB / 406.2 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.07411, allocations: 282.9 kB / 406.5 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.895e-05/0.07421, allocations: 28 kB / 406.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.07458, allocations: 75.86 kB / 406.6 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.07471, allocations: 92.77 kB / 406.7 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.07476, allocations: 43.92 kB / 406.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000726/0.07548, allocations: 0.8306 MB / 407.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.07548, allocations: 0 / 407.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008533/0.07634, allocations: 415.9 kB / 408 MB, free: 10.62 MB / 378.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.003045/0.07938, allocations: 3.482 MB / 411.4 MB, free: 7.051 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001998/0.08138, allocations: 1.94 MB / 413.4 MB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.08138, allocations: 0.6875 kB / 413.4 MB, free: 5.062 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.08261, allocations: 1.357 MB / 414.7 MB, free: 3.652 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.08362, allocations: 395 kB / 415.1 MB, free: 3.273 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.099, allocations: 14.91 MB / 430 MB, free: 3.781 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007738/0.09977, allocations: 1.054 MB / 431.1 MB, free: 2.688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005606/0.1003, allocations: 299.8 kB / 431.4 MB, free: 2.391 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005866/0.1009, allocations: 0.6956 MB / 432.1 MB, free: 1.695 MB / 394.7 MB Notification: Performance of SimCode: time 1.323e-06/0.1009, allocations: 0 / 432.1 MB, free: 1.695 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1673/0.2682, allocations: 40.29 MB / 472.4 MB, free: 100.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/7.982, allocations: 4.422 kB / 472.4 MB, free: 100.3 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Inverter.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 10.8806391088292]