Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 212.1 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.573/1.573, allocations: 230.6 MB / 257.5 MB, free: 7.801 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 51.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2625, allocations: 53.35 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01214/0.2747, allocations: 8.627 MB / 440.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006623/0.2813, allocations: 2.929 MB / 443.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001748/0.2831, allocations: 59.62 kB / 443.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.285, allocations: 0.6195 MB / 443.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002677/0.2876, allocations: 0.7921 MB / 444.6 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009837/0.2886, allocations: 391.4 kB / 445 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003334/0.2919, allocations: 2.44 MB / 447.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/0.2936, allocations: 1.041 MB / 448.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0018/0.2954, allocations: 1.114 MB / 449.6 MB, free: 4.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002193/0.2976, allocations: 1.354 MB / 451 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005112/0.2981, allocations: 280 kB / 451.2 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008946/0.299, allocations: 375.8 kB / 451.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008421/0.2998, allocations: 0.7868 MB / 452.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.3011, allocations: 1.039 MB / 453.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004455/0.3055, allocations: 3.69 MB / 457.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.3056, allocations: 0 / 457.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3056, allocations: 0 / 457.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.221e-05/0.3056, allocations: 0 / 457.1 MB, free: 13.06 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.005617/0.3113, allocations: 2.58 MB / 459.7 MB, free: 10.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3113, allocations: 8.031 kB / 459.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008588/0.3122, allocations: 295.3 kB / 460 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/0.3149, allocations: 1.286 MB / 461.3 MB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.315, allocations: 144.2 kB / 461.4 MB, free: 8.676 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003205/0.3153, allocations: 207.9 kB / 461.6 MB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004336/0.3196, allocations: 2.515 MB / 464.1 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.176e-05/0.3197, allocations: 4 kB / 464.1 MB, free: 5.891 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.3199, allocations: 80 kB / 464.2 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.32, allocations: 83.69 kB / 464.3 MB, free: 5.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003463/0.3235, allocations: 1.959 MB / 466.2 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/0.3356, allocations: 6.766 MB / 473 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.3374, allocations: 1.007 MB / 474 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001895/0.3393, allocations: 0.9172 MB / 474.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.3395, allocations: 44.95 kB / 475 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.3395, allocations: 43.56 kB / 475 MB, free: 10.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 3.617e-06/0.3395, allocations: 0 / 475 MB, free: 10.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01337/0.3529, allocations: 5.491 MB / 480.5 MB, free: 5.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.353, allocations: 72.34 kB / 480.6 MB, free: 5.129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.3552, allocations: 1.178 MB / 481.8 MB, free: 3.938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.3553, allocations: 45.7 kB / 481.8 MB, free: 3.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000823/0.3561, allocations: 0.9489 MB / 482.8 MB, free: 2.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000395/0.3565, allocations: 408.5 kB / 483.2 MB, free: 2.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004357/0.357, allocations: 251.5 kB / 483.4 MB, free: 2.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.3572, allocations: 361.9 kB / 483.8 MB, free: 1.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.3583, allocations: 0.6364 MB / 484.4 MB, free: 1.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.3597, allocations: 1 MB / 485.4 MB, free: 132 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002718/0.3624, allocations: 1.731 MB / 487.1 MB, free: 14.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/0.3624, allocations: 4 kB / 487.1 MB, free: 14.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004899/0.3673, allocations: 2.23 MB / 489.4 MB, free: 11.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.3674, allocations: 12.31 kB / 489.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.42e-05/0.3674, allocations: 15.98 kB / 489.4 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.3688, allocations: 487.9 kB / 489.9 MB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.37, allocations: 307.5 kB / 490.2 MB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008225/0.3782, allocations: 6.696 MB / 496.9 MB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.3796, allocations: 87.86 kB / 496.9 MB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/0.3798, allocations: 52 kB / 497 MB, free: 4.039 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.001423/0.3812, allocations: 0.607 MB / 497.6 MB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000482/0.3817, allocations: 143.1 kB / 497.7 MB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/0.3855, allocations: 1.944 MB / 499.7 MB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.3855, allocations: 12 kB / 499.7 MB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/0.3855, allocations: 8.125 kB / 499.7 MB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.3856, allocations: 7.969 kB / 499.7 MB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007758/0.3933, allocations: 3.634 MB / 0.4916 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.3933, allocations: 4 kB / 0.4916 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008558/0.3942, allocations: 187.7 kB / 0.4917 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.3957, allocations: 0.539 MB / 0.4923 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.3959, allocations: 27.98 kB / 0.4923 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009988/0.4059, allocations: 8.202 MB / 0.5003 GB, free: 4.188 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/0.4059, allocations: 11.95 kB / 0.5003 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005331/0.4112, allocations: 2.844 MB / 0.5031 GB, free: 1.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.4122, allocations: 263 kB / 0.5033 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003997/0.4126, allocations: 31.98 kB / 0.5034 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.4137, allocations: 67.92 kB / 0.5034 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000285/0.4139, allocations: 92.77 kB / 0.5035 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.233e-05/0.414, allocations: 31.98 kB / 0.5036 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001864/0.4159, allocations: 0.783 MB / 0.5043 GB, free: 8 kB / 414.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4159, allocations: 0 / 0.5043 GB, free: 8 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.002197/0.4181, allocations: 440.1 kB / 0.5047 GB, free: 15.57 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.0004801/0.4186, allocations: 190.9 kB / 0.5049 GB, free: 15.38 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003884/0.4225, allocations: 2.007 MB / 0.5069 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.505e-06/0.4225, allocations: 0 / 0.5069 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002449/0.4249, allocations: 1.377 MB / 0.5082 GB, free: 11.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.4271, allocations: 367.6 kB / 0.5086 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008159/0.4353, allocations: 4.166 MB / 0.5126 GB, free: 7.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001874/0.4371, allocations: 1.076 MB / 0.5137 GB, free: 6.203 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001174/0.4383, allocations: 307.7 kB / 0.514 GB, free: 5.898 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/0.4387, allocations: 91.42 kB / 0.5141 GB, free: 5.809 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4387, allocations: 0 / 0.5141 GB, free: 5.809 MB / 430.1 MB Notification: Performance of Templates: time 0.2594/0.6981, allocations: 25.74 MB / 0.5392 GB, free: 102.5 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.883012038655579]