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_Steinmetz.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.001732/0.001732, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002425/0.002425, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.513/1.513, allocations: 230.4 MB / 258.1 MB, free: 8.16 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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [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.002017/0.002017, allocations: 71.83 kB / 378.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2848, allocations: 53.32 MB / 432.1 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01205/0.2968, allocations: 9.831 MB / 441.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006853/0.3037, allocations: 3.108 MB / 445 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.3056, allocations: 47.81 kB / 445.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.308, allocations: 0.6677 MB / 445.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.3111, allocations: 0.7726 MB / 446.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.3121, allocations: 395.4 kB / 446.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003104/0.3152, allocations: 2.436 MB / 449.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.3167, allocations: 1.044 MB / 450.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001645/0.3184, allocations: 1.094 MB / 451.5 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.3204, allocations: 1.343 MB / 452.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004917/0.3209, allocations: 280 kB / 453.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008624/0.3218, allocations: 379.8 kB / 453.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008475/0.3226, allocations: 0.7907 MB / 454.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00163/0.3243, allocations: 1.276 MB / 455.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004431/0.3287, allocations: 3.666 MB / 459.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.539e-05/0.3287, allocations: 3.984 kB / 459.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3287, allocations: 0 / 459.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001269/0.3288, allocations: 4 kB / 459.2 MB, free: 12.14 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006763/0.3356, allocations: 2.655 MB / 461.8 MB, free: 9.426 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3356, allocations: 8.031 kB / 461.8 MB, free: 9.418 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008908/0.3365, allocations: 291.3 kB / 462.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002958/0.3395, allocations: 1.362 MB / 463.5 MB, free: 7.715 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.3396, allocations: 144.1 kB / 463.6 MB, free: 7.574 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003537/0.34, allocations: 203.8 kB / 463.8 MB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004358/0.3443, allocations: 2.418 MB / 466.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.608e-05/0.3444, allocations: 4 kB / 466.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.3446, allocations: 83.98 kB / 466.3 MB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/0.3447, allocations: 91.67 kB / 466.4 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003493/0.3482, allocations: 1.955 MB / 468.4 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01305/0.3612, allocations: 7.788 MB / 476.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001861/0.3631, allocations: 1.161 MB / 477.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/0.365, allocations: 0.9135 MB / 478.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.3653, allocations: 122.1 kB / 478.4 MB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.3653, allocations: 43.56 kB / 478.4 MB, free: 8.449 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.845e-06/0.3653, allocations: 0 / 478.4 MB, free: 8.449 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01333/0.3787, allocations: 5.882 MB / 484.3 MB, free: 2.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.3787, allocations: 72.33 kB / 484.4 MB, free: 2.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.3808, allocations: 1.31 MB / 485.7 MB, free: 1.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.996e-05/0.3809, allocations: 41.7 kB / 485.7 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007616/0.3817, allocations: 0.942 MB / 486.7 MB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003766/0.382, allocations: 416.4 kB / 487.1 MB, free: 15.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004141/0.3824, allocations: 251.5 kB / 487.3 MB, free: 15.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.3826, allocations: 361.9 kB / 487.7 MB, free: 15 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.3837, allocations: 0.6403 MB / 488.3 MB, free: 14.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.385, allocations: 1 MB / 489.3 MB, free: 13.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002495/0.3875, allocations: 1.731 MB / 491 MB, free: 11.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.3875, allocations: 4 kB / 491 MB, free: 11.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004148/0.3916, allocations: 2.246 MB / 493.3 MB, free: 9.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.3916, allocations: 12 kB / 493.3 MB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.3917, allocations: 12 kB / 493.3 MB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.393, allocations: 491.9 kB / 493.8 MB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.3941, allocations: 299.5 kB / 494.1 MB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008316/0.4024, allocations: 7.125 MB / 0.4895 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.4038, allocations: 91.97 kB / 0.4895 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.4039, allocations: 52 kB / 0.4896 GB, free: 0.5586 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001119/0.405, allocations: 0.6066 MB / 0.4902 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/0.4053, allocations: 155 kB / 0.4903 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003648/0.409, allocations: 1.961 MB / 0.4922 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.409, allocations: 12 kB / 0.4923 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.409, allocations: 4 kB / 0.4923 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.409, allocations: 3.984 kB / 0.4923 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007676/0.4167, allocations: 4.125 MB / 0.4963 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.4167, allocations: 4 kB / 0.4963 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008904/0.4176, allocations: 183.7 kB / 0.4965 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/0.4191, allocations: 0.5387 MB / 0.497 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-05/0.4192, allocations: 35.92 kB / 0.497 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009593/0.4288, allocations: 8.746 MB / 0.5056 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/0.4288, allocations: 11.88 kB / 0.5056 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004947/0.4338, allocations: 2.856 MB / 0.5084 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008998/0.4347, allocations: 356 kB / 0.5087 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.4349, allocations: 28.17 kB / 0.5087 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008024/0.4357, allocations: 63.92 kB / 0.5088 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.436, allocations: 92.77 kB / 0.5089 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.632e-05/0.436, allocations: 31.98 kB / 0.5089 GB, free: 11.96 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001482/0.4375, allocations: 0.8958 MB / 0.5098 GB, free: 11.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4375, allocations: 0 / 0.5098 GB, free: 11.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001561/0.4391, allocations: 436 kB / 0.5102 GB, free: 10.64 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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,1,100.0%), (2,8,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.0004025/0.4395, allocations: 198.4 kB / 0.5104 GB, free: 10.44 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004067/0.4436, allocations: 2.172 MB / 0.5125 GB, free: 8.188 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.4436, allocations: 2 kB / 0.5125 GB, free: 8.188 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002938/0.4465, allocations: 1.451 MB / 0.5139 GB, free: 6.668 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/0.449, allocations: 415.9 kB / 0.5143 GB, free: 6.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00863/0.4576, allocations: 4.191 MB / 0.5184 GB, free: 2.008 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001747/0.4593, allocations: 1.646 MB / 0.52 GB, free: 336 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001228/0.4606, allocations: 324.8 kB / 0.5203 GB, free: 4 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000309/0.4609, allocations: 99.47 kB / 0.5204 GB, free: 15.9 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4609, allocations: 0 / 0.5204 GB, free: 15.9 MB / 446.1 MB Notification: Performance of Templates: time 0.334/0.7948, allocations: 24.88 MB / 0.5447 GB, free: 95.3 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001869285013527]