Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.005475/0.005475, allocations: 105.1 kB / 21.98 MB, free: 5.219 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.00159/0.00159, allocations: 210.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 259 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 59.89 kB / 379.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2648, allocations: 53.37 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01132/0.2761, allocations: 8.949 MB / 442.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005667/0.2818, allocations: 2.915 MB / 445 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009644/0.2828, allocations: 55.62 kB / 445.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.2843, allocations: 0.6404 MB / 445.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002015/0.2863, allocations: 0.7496 MB / 446.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007786/0.2871, allocations: 343.3 kB / 446.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002645/0.2897, allocations: 2.233 MB / 449.1 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.2912, allocations: 1.028 MB / 450.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.2927, allocations: 1.051 MB / 451.1 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/0.2947, allocations: 1.327 MB / 452.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.2951, allocations: 268 kB / 452.7 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007161/0.2958, allocations: 367.8 kB / 453.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008663/0.2967, allocations: 0.7635 MB / 453.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001386/0.2981, allocations: 1.213 MB / 455.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003957/0.302, allocations: 3.546 MB / 458.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.302, allocations: 3.984 kB / 458.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.302, allocations: 0 / 458.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.517e-05/0.3021, allocations: 0 / 458.6 MB, free: 13.38 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.005033/0.3071, allocations: 2.477 MB / 461.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3071, allocations: 8.031 kB / 461.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000704/0.3079, allocations: 267.4 kB / 461.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002374/0.3102, allocations: 1.242 MB / 462.6 MB, free: 9.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.3103, allocations: 131.9 kB / 462.7 MB, free: 9.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002914/0.3106, allocations: 187.9 kB / 462.9 MB, free: 9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004138/0.3148, allocations: 2.378 MB / 465.3 MB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.875e-05/0.3148, allocations: 3.953 kB / 465.3 MB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/0.315, allocations: 72 kB / 465.4 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.3151, allocations: 99.44 kB / 465.5 MB, free: 6.414 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003623/0.3187, allocations: 1.962 MB / 467.4 MB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/0.3303, allocations: 6.945 MB / 474.4 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.3322, allocations: 1.001 MB / 475.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.3338, allocations: 0.8038 MB / 476.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.334, allocations: 52.94 kB / 476.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.334, allocations: 39.56 kB / 476.3 MB, free: 11.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.675e-06/0.334, allocations: 0 / 476.3 MB, free: 11.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01398/0.348, allocations: 5.675 MB / 481.9 MB, free: 5.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.348, allocations: 60.41 kB / 482 MB, free: 5.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/0.3499, allocations: 1.215 MB / 483.2 MB, free: 4.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.35, allocations: 49.64 kB / 483.3 MB, free: 4.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007101/0.3507, allocations: 0.8947 MB / 484.2 MB, free: 3.422 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003767/0.3511, allocations: 380.8 kB / 484.5 MB, free: 3.047 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003656/0.3515, allocations: 218.9 kB / 484.7 MB, free: 2.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3517, allocations: 357.9 kB / 485.1 MB, free: 2.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.3527, allocations: 0.6155 MB / 485.7 MB, free: 1.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.3541, allocations: 0.9188 MB / 486.6 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.3566, allocations: 1.643 MB / 488.3 MB, free: 15.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3566, allocations: 0 / 488.3 MB, free: 15.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004007/0.3606, allocations: 2.153 MB / 490.4 MB, free: 12.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.3606, allocations: 11.98 kB / 490.4 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.3606, allocations: 8 kB / 490.4 MB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.3618, allocations: 486.9 kB / 490.9 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.3629, allocations: 267.6 kB / 491.2 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007492/0.3704, allocations: 6.71 MB / 497.9 MB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.3715, allocations: 79.88 kB / 498 MB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.3716, allocations: 51.98 kB / 498 MB, free: 4.922 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.001043/0.3727, allocations: 0.5989 MB / 498.6 MB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002772/0.373, allocations: 143 kB / 498.8 MB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003711/0.3767, allocations: 1.952 MB / 0.489 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.3767, allocations: 8 kB / 0.489 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.3767, allocations: 4 kB / 0.489 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.3767, allocations: 7.969 kB / 0.489 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007394/0.3841, allocations: 4.096 MB / 0.493 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.3841, allocations: 4 kB / 0.493 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008022/0.3849, allocations: 179.8 kB / 0.4932 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.3863, allocations: 0.5154 MB / 0.4937 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.533e-05/0.3864, allocations: 31.98 kB / 0.4937 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008923/0.3954, allocations: 8.218 MB / 0.5017 GB, free: 4.551 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.3954, allocations: 7.938 kB / 0.5017 GB, free: 4.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005083/0.4004, allocations: 2.859 MB / 0.5045 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008006/0.4012, allocations: 278.9 kB / 0.5048 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002208/0.4015, allocations: 39.92 kB / 0.5048 GB, free: 1.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007963/0.4023, allocations: 71.92 kB / 0.5049 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/0.4025, allocations: 88.77 kB / 0.505 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.475e-05/0.4026, allocations: 39.94 kB / 0.505 GB, free: 1.102 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001317/0.4039, allocations: 0.8383 MB / 0.5058 GB, free: 264 kB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4039, allocations: 4 kB / 0.5058 GB, free: 260 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001498/0.4054, allocations: 408 kB / 0.5062 GB, free: 15.85 MB / 430.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.0003775/0.4058, allocations: 178.9 kB / 0.5064 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003609/0.4094, allocations: 1.951 MB / 0.5083 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.4094, allocations: 0 / 0.5083 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002344/0.4117, allocations: 1.37 MB / 0.5097 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/0.4136, allocations: 389.1 kB / 0.51 GB, free: 11.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006997/0.4206, allocations: 4.021 MB / 0.5139 GB, free: 7.777 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/0.422, allocations: 1.618 MB / 0.5155 GB, free: 6.125 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004411/0.4224, allocations: 107.4 kB / 0.5156 GB, free: 6.02 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4224, allocations: 0 / 0.5156 GB, free: 6.02 MB / 430.1 MB Notification: Performance of Templates: time 0.2744/0.6968, allocations: 68.45 MB / 0.5825 GB, free: 65.65 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 12.668044683989137]