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.001393/0.001393, allocations: 104 kB / 21.18 MB, free: 0.6719 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.001459/0.001459, allocations: 194.4 kB / 24.46 MB, free: 4.016 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.424/1.424, allocations: 225.7 MB / 253.3 MB, free: 12.81 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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 47.92 kB / 371.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2349, allocations: 52.19 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01062/0.2455, allocations: 7.857 MB / 431.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005792/0.2513, allocations: 2.66 MB / 434.4 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.2525, allocations: 59.62 kB / 434.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.2544, allocations: 0.5862 MB / 435 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.257, allocations: 0.7496 MB / 435.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008823/0.2579, allocations: 327.6 kB / 436.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00311/0.261, allocations: 2.218 MB / 438.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.2627, allocations: 0.981 MB / 439.3 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.2646, allocations: 1.047 MB / 440.3 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.2667, allocations: 1.237 MB / 441.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004852/0.2672, allocations: 272 kB / 441.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008371/0.2681, allocations: 351.8 kB / 442.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008483/0.2689, allocations: 0.7713 MB / 442.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.2703, allocations: 0.9764 MB / 443.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004494/0.2748, allocations: 3.558 MB / 447.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2748, allocations: 7.938 kB / 447.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.2748, allocations: 0 / 447.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.181e-05/0.2749, allocations: 0 / 447.5 MB, free: 6.719 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.005226/0.2801, allocations: 2.458 MB / 449.9 MB, free: 4.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2802, allocations: 8.031 kB / 449.9 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006647/0.2808, allocations: 263.4 kB / 450.2 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.2834, allocations: 1.246 MB / 451.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.2835, allocations: 131.9 kB / 451.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/0.2838, allocations: 188.1 kB / 451.8 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00425/0.288, allocations: 2.475 MB / 454.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.383e-05/0.2881, allocations: 3.953 kB / 454.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.2883, allocations: 76 kB / 454.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.2884, allocations: 95.5 kB / 454.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003829/0.2922, allocations: 1.958 MB / 456.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/0.3036, allocations: 6.11 MB / 462.5 MB, free: 7.406 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.3055, allocations: 0.9931 MB / 463.5 MB, free: 6.402 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.3072, allocations: 0.803 MB / 464.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002112/0.3074, allocations: 44.95 kB / 464.3 MB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.3074, allocations: 43.56 kB / 464.4 MB, free: 5.508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 3.066e-06/0.3074, allocations: 0 / 464.4 MB, free: 5.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01422/0.3216, allocations: 5.641 MB / 470 MB, free: 15.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.3217, allocations: 64.41 kB / 470.1 MB, free: 15.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.3233, allocations: 1.075 MB / 471.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.606e-05/0.3234, allocations: 49.7 kB / 471.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007929/0.3242, allocations: 0.894 MB / 472.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/0.3246, allocations: 388.7 kB / 472.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003783/0.325, allocations: 226.9 kB / 472.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.3252, allocations: 357.9 kB / 473 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.3263, allocations: 0.6155 MB / 473.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.3276, allocations: 0.9188 MB / 474.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002537/0.3302, allocations: 1.639 MB / 476.2 MB, free: 9.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.3302, allocations: 4 kB / 476.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004076/0.3343, allocations: 2.129 MB / 478.3 MB, free: 7.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.3343, allocations: 8 kB / 478.3 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.3343, allocations: 11.98 kB / 478.3 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.3355, allocations: 476.1 kB / 478.8 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.3365, allocations: 275.5 kB / 479.1 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007498/0.344, allocations: 6.596 MB / 485.7 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.3451, allocations: 83.86 kB / 485.8 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.3453, allocations: 51.94 kB / 485.8 MB, free: 15.34 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.001122/0.3464, allocations: 0.599 MB / 486.4 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003512/0.3467, allocations: 127.2 kB / 486.5 MB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003765/0.3505, allocations: 1.931 MB / 488.5 MB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.181e-05/0.3505, allocations: 19.94 kB / 488.5 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.3505, allocations: 4 kB / 488.5 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.3506, allocations: 7.969 kB / 488.5 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007488/0.358, allocations: 3.669 MB / 492.2 MB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.3581, allocations: 4 kB / 492.2 MB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008201/0.3589, allocations: 175.8 kB / 492.3 MB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/0.3603, allocations: 0.5197 MB / 492.9 MB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.375e-05/0.3604, allocations: 39.92 kB / 492.9 MB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009023/0.3694, allocations: 8.055 MB / 0.4892 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/0.3695, allocations: 11.88 kB / 0.4892 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005004/0.3745, allocations: 2.855 MB / 0.492 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008698/0.3753, allocations: 259 kB / 0.4923 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.3755, allocations: 27.94 kB / 0.4923 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007675/0.3763, allocations: 75.91 kB / 0.4924 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/0.3765, allocations: 100.7 kB / 0.4925 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/0.3766, allocations: 35.98 kB / 0.4925 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00116/0.3777, allocations: 0.7293 MB / 0.4932 GB, free: 11.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3777, allocations: 0 / 0.4932 GB, free: 11.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001487/0.3792, allocations: 407.9 kB / 0.4936 GB, free: 11.07 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.0003828/0.3796, allocations: 186.4 kB / 0.4938 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003609/0.3832, allocations: 1.952 MB / 0.4957 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.3832, allocations: 0 / 0.4957 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002418/0.3857, allocations: 1.346 MB / 0.497 GB, free: 7.488 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/0.3873, allocations: 323 kB / 0.4973 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006778/0.3941, allocations: 4.013 MB / 0.5012 GB, free: 3.082 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/0.3954, allocations: 1.038 MB / 0.5022 GB, free: 2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000401/0.3958, allocations: 95.42 kB / 0.5023 GB, free: 1.906 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3958, allocations: 0 / 0.5023 GB, free: 1.906 MB / 414.1 MB Notification: Performance of Templates: time 0.257/0.6528, allocations: 67.89 MB / 0.5686 GB, free: 85.09 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] 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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.710166810080409]