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.001586/0.001586, allocations: 105.5 kB / 20.43 MB, free: 1.473 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.002101/0.002101, allocations: 184 kB / 23.72 MB, free: 4.711 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.576/1.576, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.001567/0.001567, allocations: 55.95 kB / 371 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3104, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01179/0.3222, allocations: 8.927 MB / 432.1 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00633/0.3285, allocations: 2.841 MB / 434.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.33, allocations: 55.62 kB / 435 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001794/0.3318, allocations: 0.6407 MB / 435.6 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002596/0.3344, allocations: 0.7496 MB / 436.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009046/0.3353, allocations: 331.5 kB / 436.7 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003124/0.3384, allocations: 2.229 MB / 438.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.34, allocations: 1.016 MB / 439.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/0.3418, allocations: 1.047 MB / 441 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002731/0.3446, allocations: 1.312 MB / 442.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005691/0.3451, allocations: 268 kB / 442.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009129/0.346, allocations: 367.8 kB / 442.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009461/0.347, allocations: 0.7674 MB / 443.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.3489, allocations: 1.206 MB / 444.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004672/0.3535, allocations: 3.538 MB / 448.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3535, allocations: 3.938 kB / 448.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3535, allocations: 0 / 448.4 MB, free: 5.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.047e-05/0.3536, allocations: 3.938 kB / 448.4 MB, free: 5.254 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.006126/0.3597, allocations: 2.462 MB / 450.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3598, allocations: 12.02 kB / 450.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007558/0.3605, allocations: 259.4 kB / 451.1 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/0.3631, allocations: 1.242 MB / 452.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.3632, allocations: 131.9 kB / 452.5 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/0.3635, allocations: 192.1 kB / 452.7 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004593/0.3681, allocations: 2.374 MB / 455.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.105e-05/0.3682, allocations: 7.953 kB / 455.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.3684, allocations: 72 kB / 455.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.3685, allocations: 95.48 kB / 455.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004011/0.3725, allocations: 1.97 MB / 457.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0132/0.3857, allocations: 6.941 MB / 464.2 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001987/0.3877, allocations: 0.993 MB / 465.1 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.3893, allocations: 0.8107 MB / 466 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002014/0.3895, allocations: 44.95 kB / 466 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.3896, allocations: 51.5 kB / 466.1 MB, free: 3.289 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.545e-06/0.3896, allocations: 0 / 466.1 MB, free: 3.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.01531/0.4049, allocations: 5.66 MB / 471.7 MB, free: 13.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.405, allocations: 64.41 kB / 471.8 MB, free: 13.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/0.407, allocations: 1.215 MB / 473 MB, free: 12.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.4071, allocations: 41.7 kB / 473 MB, free: 12.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007402/0.4079, allocations: 0.887 MB / 473.9 MB, free: 11.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003658/0.4082, allocations: 384.7 kB / 474.3 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003956/0.4086, allocations: 226.9 kB / 474.5 MB, free: 10.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4088, allocations: 357.9 kB / 474.9 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.4099, allocations: 0.6155 MB / 475.5 MB, free: 9.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.4113, allocations: 0.9188 MB / 476.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/0.414, allocations: 1.647 MB / 478 MB, free: 6.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/0.414, allocations: 4 kB / 478 MB, free: 6.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004512/0.4185, allocations: 2.141 MB / 480.2 MB, free: 4.781 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.4185, allocations: 8 kB / 480.2 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/0.4185, allocations: 12 kB / 480.2 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.4198, allocations: 482.3 kB / 480.7 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.4209, allocations: 275.6 kB / 480.9 MB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008598/0.4295, allocations: 6.703 MB / 487.7 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.4309, allocations: 91.92 kB / 487.7 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/0.431, allocations: 48 kB / 487.8 MB, free: 12.83 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.001499/0.4325, allocations: 0.595 MB / 488.4 MB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006423/0.4332, allocations: 143.1 kB / 488.5 MB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004531/0.4377, allocations: 1.952 MB / 490.5 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.4377, allocations: 8 kB / 490.5 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/0.4378, allocations: 4 kB / 490.5 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.4378, allocations: 7.984 kB / 490.5 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009324/0.4471, allocations: 4.088 MB / 494.6 MB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/0.4471, allocations: 7.984 kB / 494.6 MB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008723/0.448, allocations: 175.8 kB / 494.8 MB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001609/0.4496, allocations: 0.5235 MB / 495.3 MB, free: 5.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.4497, allocations: 31.98 kB / 495.3 MB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01014/0.4599, allocations: 8.228 MB / 0.4917 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.316e-05/0.4599, allocations: 7.938 kB / 0.4918 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005847/0.4657, allocations: 2.859 MB / 0.4945 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000964/0.4667, allocations: 275 kB / 0.4948 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/0.467, allocations: 28 kB / 0.4948 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.468, allocations: 71.86 kB / 0.4949 GB, free: 9.141 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002888/0.4683, allocations: 96.77 kB / 0.495 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-05/0.4684, allocations: 35.98 kB / 0.495 GB, free: 9.012 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00162/0.47, allocations: 0.8342 MB / 0.4958 GB, free: 8.172 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.47, allocations: 3.938 kB / 0.4958 GB, free: 8.168 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001763/0.4718, allocations: 411.9 kB / 0.4962 GB, free: 7.766 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.0004315/0.4722, allocations: 187.1 kB / 0.4964 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003963/0.4762, allocations: 1.949 MB / 0.4983 GB, free: 5.578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.4762, allocations: 0 / 0.4983 GB, free: 5.578 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002547/0.4788, allocations: 1.357 MB / 0.4996 GB, free: 4.168 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.481, allocations: 384.3 kB / 0.5 GB, free: 3.797 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007813/0.4888, allocations: 3.989 MB / 0.5039 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001942/0.4907, allocations: 1.63 MB / 0.5055 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001087/0.4918, allocations: 303.8 kB / 0.5058 GB, free: 13.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/0.4922, allocations: 95.42 kB / 0.5059 GB, free: 13.67 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4922, allocations: 0 / 0.5059 GB, free: 13.67 MB / 430.1 MB Notification: Performance of Templates: time 0.04812/0.5403, allocations: 23.68 MB / 0.529 GB, free: 6.199 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/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: 6.025313780643046]