Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001891/0.001891, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002342/0.002342, allocations: 219.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 68.14 kB / 379 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2477, allocations: 53.4 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01083/0.2585, allocations: 7.883 MB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005745/0.2642, allocations: 2.726 MB / 443 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.2653, allocations: 55.62 kB / 443.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.2669, allocations: 0.5862 MB / 443.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.2691, allocations: 0.7496 MB / 444.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.2699, allocations: 335.5 kB / 444.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002814/0.2727, allocations: 2.229 MB / 447 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.2742, allocations: 0.9881 MB / 447.9 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.2758, allocations: 1.051 MB / 449 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.2778, allocations: 1.245 MB / 450.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000477/0.2783, allocations: 268 kB / 450.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007953/0.2791, allocations: 359.8 kB / 450.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008059/0.2799, allocations: 0.7635 MB / 451.6 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.2812, allocations: 0.9841 MB / 452.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004083/0.2852, allocations: 3.566 MB / 456.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2852, allocations: 0 / 456.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2852, allocations: 0 / 456.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.843e-05/0.2853, allocations: 0 / 456.2 MB, free: 14.62 MB / 366.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.004937/0.2903, allocations: 2.486 MB / 458.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.2903, allocations: 11.98 kB / 458.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006789/0.291, allocations: 263.4 kB / 458.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/0.2934, allocations: 1.238 MB / 460.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.2935, allocations: 135.9 kB / 460.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002874/0.2938, allocations: 187.8 kB / 460.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003965/0.2978, allocations: 2.471 MB / 462.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.393e-05/0.2978, allocations: 15.89 kB / 463 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.298, allocations: 79.98 kB / 463 MB, free: 7.602 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.2981, allocations: 91.5 kB / 463.1 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003451/0.3016, allocations: 1.958 MB / 465.1 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/0.3122, allocations: 6.103 MB / 471.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.314, allocations: 0.9969 MB / 472.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/0.3156, allocations: 0.8069 MB / 473 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/0.3158, allocations: 40.97 kB / 473 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.3159, allocations: 43.56 kB / 473.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.655e-06/0.3159, allocations: 4 kB / 473.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01402/0.3299, allocations: 5.656 MB / 478.7 MB, free: 7.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.33, allocations: 68.34 kB / 478.8 MB, free: 7.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.3317, allocations: 1.079 MB / 479.9 MB, free: 6.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.312e-05/0.3317, allocations: 41.7 kB / 479.9 MB, free: 6.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007066/0.3325, allocations: 0.8942 MB / 480.8 MB, free: 5.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/0.3328, allocations: 388.7 kB / 481.2 MB, free: 5.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/0.3332, allocations: 218.9 kB / 481.4 MB, free: 4.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3334, allocations: 357.9 kB / 481.8 MB, free: 4.574 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.3344, allocations: 0.6155 MB / 482.4 MB, free: 3.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.3357, allocations: 0.9188 MB / 483.3 MB, free: 2.914 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002427/0.3381, allocations: 1.643 MB / 484.9 MB, free: 1.145 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3381, allocations: 0 / 484.9 MB, free: 1.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00416/0.3423, allocations: 2.141 MB / 487.1 MB, free: 14.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.3423, allocations: 12 kB / 487.1 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.3423, allocations: 8 kB / 487.1 MB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.3435, allocations: 483.4 kB / 487.6 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.3445, allocations: 267.6 kB / 487.8 MB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007625/0.3521, allocations: 6.592 MB / 494.4 MB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.3533, allocations: 79.86 kB / 494.5 MB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.3534, allocations: 59.92 kB / 494.6 MB, free: 7.188 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.001145/0.3546, allocations: 0.6024 MB / 495.2 MB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/0.3548, allocations: 131.2 kB / 495.3 MB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003793/0.3586, allocations: 1.936 MB / 497.2 MB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.3586, allocations: 15.94 kB / 497.2 MB, free: 4.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.3587, allocations: 4 kB / 497.2 MB, free: 4.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.3587, allocations: 3.984 kB / 497.2 MB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007263/0.3659, allocations: 3.653 MB / 0.4892 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.3659, allocations: 4 kB / 0.4892 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007869/0.3667, allocations: 183.7 kB / 0.4893 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.3681, allocations: 0.5227 MB / 0.4899 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.078e-05/0.3682, allocations: 35.92 kB / 0.4899 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00881/0.377, allocations: 8.072 MB / 0.4978 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.377, allocations: 4 kB / 0.4978 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005652/0.3827, allocations: 2.847 MB / 0.5006 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009925/0.3837, allocations: 266.9 kB / 0.5008 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.3839, allocations: 31.98 kB / 0.5008 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007616/0.3846, allocations: 71.86 kB / 0.5009 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/0.3849, allocations: 96.7 kB / 0.501 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/0.3849, allocations: 35.98 kB / 0.501 GB, free: 4.062 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00113/0.3861, allocations: 0.7334 MB / 0.5017 GB, free: 3.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3861, allocations: 0 / 0.5017 GB, free: 3.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001469/0.3875, allocations: 404 kB / 0.5021 GB, free: 2.926 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.0003751/0.3879, allocations: 186.9 kB / 0.5023 GB, free: 2.734 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004273/0.3922, allocations: 1.94 MB / 0.5042 GB, free: 0.75 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.3922, allocations: 4 kB / 0.5042 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002912/0.3951, allocations: 1.354 MB / 0.5055 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/0.3969, allocations: 324 kB / 0.5058 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00758/0.4045, allocations: 4.003 MB / 0.5098 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/0.4058, allocations: 1.038 MB / 0.5108 GB, free: 9.859 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/0.4063, allocations: 95.42 kB / 0.5109 GB, free: 9.766 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4063, allocations: 0 / 0.5109 GB, free: 9.766 MB / 430.1 MB Notification: Performance of Templates: time 0.2514/0.6577, allocations: 68.06 MB / 0.5773 GB, free: 69.73 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.933718048036098]