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.001209/0.001209, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001788/0.001788, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9551/0.9551, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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 1.192e-06/1.192e-06, allocations: 0 / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.354e-05, allocations: 2.312 kB / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.006651/0.006665, allocations: 8.639 MB / 282.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007044/0.01371, allocations: 2.81 MB / 285.6 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007283/0.01444, allocations: 59.62 kB / 285.6 MB, free: 8.723 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009691/0.01541, allocations: 0.6054 MB / 286.2 MB, free: 8.113 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.01652, allocations: 0.7722 MB / 287 MB, free: 7.336 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.01694, allocations: 335.4 kB / 287.3 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001544/0.01849, allocations: 2.314 MB / 289.7 MB, free: 4.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009501/0.01944, allocations: 0.993 MB / 290.7 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.02112, allocations: 1.692 MB / 292.3 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.02231, allocations: 1.157 MB / 293.5 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.02251, allocations: 256 kB / 293.8 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003808/0.02289, allocations: 351.8 kB / 294.1 MB, free: 196 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004622/0.02335, allocations: 0.7753 MB / 294.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005524/0.0239, allocations: 0.8146 MB / 295.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.02526, allocations: 1.923 MB / 297.6 MB, free: 12.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.02527, allocations: 4 kB / 297.6 MB, free: 12.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.02527, allocations: 0 / 297.6 MB, free: 12.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.02528, allocations: 3.938 kB / 297.6 MB, free: 12.66 MB / 282.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.00252/0.0278, allocations: 2.517 MB / 300.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.02783, allocations: 12.03 kB / 300.1 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005145/0.02835, allocations: 407.4 kB / 300.5 MB, free: 9.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.02943, allocations: 1.163 MB / 301.7 MB, free: 8.469 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.069e-05/0.0295, allocations: 135.9 kB / 301.8 MB, free: 8.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.02967, allocations: 188.3 kB / 302 MB, free: 8.152 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.031, allocations: 1.368 MB / 303.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.03103, allocations: 7.969 kB / 303.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.03113, allocations: 72 kB / 303.5 MB, free: 6.637 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.22e-05/0.0312, allocations: 87.52 kB / 303.6 MB, free: 6.551 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007013/0.0319, allocations: 0.5334 MB / 304.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005142/0.03705, allocations: 5.722 MB / 309.8 MB, free: 104 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006083/0.03766, allocations: 0.5159 MB / 310.3 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005328/0.03819, allocations: 437.2 kB / 310.8 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.03829, allocations: 36.98 kB / 310.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.03832, allocations: 50.95 kB / 310.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 1.964e-06/0.03832, allocations: 3.938 kB / 310.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.003677/0.042, allocations: 2.504 MB / 313.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.04203, allocations: 64.41 kB / 313.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009902/0.04302, allocations: 0.961 MB / 314.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.04307, allocations: 45.7 kB / 314.4 MB, free: 11.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004212/0.04349, allocations: 0.9825 MB / 315.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.04367, allocations: 384.7 kB / 315.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.04389, allocations: 232.4 kB / 316 MB, free: 9.777 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.04402, allocations: 0.5315 MB / 316.5 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.04422, allocations: 154.4 kB / 316.7 MB, free: 9.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.04458, allocations: 0.5829 MB / 317.3 MB, free: 8.332 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006566/0.04524, allocations: 0.8422 MB / 318.1 MB, free: 7.316 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.04524, allocations: 4 kB / 318.1 MB, free: 7.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001235/0.04648, allocations: 1.089 MB / 319.2 MB, free: 6.191 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.04649, allocations: 8 kB / 319.2 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.0465, allocations: 12 kB / 319.2 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004911/0.04699, allocations: 265.5 kB / 319.5 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/0.04746, allocations: 235.6 kB / 319.7 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/0.05071, allocations: 6.398 MB / 326.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.05105, allocations: 39.95 kB / 326.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.05111, allocations: 39.98 kB / 326.2 MB, free: 14.85 MB / 314.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.000283/0.05139, allocations: 228.3 kB / 326.4 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.05156, allocations: 171.1 kB / 326.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.05265, allocations: 0.9343 MB / 327.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.05266, allocations: 12 kB / 327.5 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.05266, allocations: 4 kB / 327.5 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.05267, allocations: 3.984 kB / 327.5 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.05559, allocations: 2.632 MB / 330.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.0556, allocations: 4 kB / 330.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.05593, allocations: 155.7 kB / 330.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005623/0.05649, allocations: 306.5 kB / 330.6 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.473e-05/0.05654, allocations: 27.98 kB / 330.6 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003741/0.06028, allocations: 8.128 MB / 338.8 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.06028, allocations: 7.938 kB / 338.8 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/0.06166, allocations: 1.4 MB / 340.2 MB, free: 132 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.06193, allocations: 223.2 kB / 340.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.936e-05/0.06203, allocations: 27.75 kB / 340.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.06234, allocations: 47.97 kB / 340.5 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.06245, allocations: 92.72 kB / 340.6 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-05/0.06249, allocations: 27.98 kB / 340.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003788/0.06287, allocations: 0.5458 MB / 341.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06287, allocations: 0 / 341.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008299/0.0637, allocations: 400 kB / 341.5 MB, free: 14.77 MB / 330.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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002279/0.06393, allocations: 190.8 kB / 341.7 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.06534, allocations: 1.3 MB / 343 MB, free: 13.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.06534, allocations: 0 / 343 MB, free: 13.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007709/0.06611, allocations: 1.16 MB / 344.2 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007799/0.06689, allocations: 326.6 kB / 344.5 MB, free: 11.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.07018, allocations: 3.302 MB / 347.8 MB, free: 8.246 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.07053, allocations: 499.5 kB / 348.3 MB, free: 7.727 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003482/0.07088, allocations: 158.8 kB / 348.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/0.0714, allocations: 390 kB / 348.8 MB, free: 7.184 MB / 330.7 MB Notification: Performance of SimCode: time 8.51e-07/0.0714, allocations: 0 / 348.8 MB, free: 7.184 MB / 330.7 MB Notification: Performance of Templates: time 0.1347/0.2061, allocations: 22.45 MB / 371.3 MB, free: 74.11 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5105124237015843]