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.001503/0.001503, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001874/0.001874, allocations: 213.3 kB / 24.48 MB, free: 3.941 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 2.128/2.128, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.002507/0.002507, allocations: 51.92 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.398, allocations: 53.36 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01702/0.4151, allocations: 8.636 MB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.4251, allocations: 2.921 MB / 443.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.4271, allocations: 63.62 kB / 444 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003202/0.4303, allocations: 0.6131 MB / 444.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004478/0.4348, allocations: 0.796 MB / 445.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.4366, allocations: 399.3 kB / 445.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005301/0.4419, allocations: 2.44 MB / 448.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00255/0.4444, allocations: 1.041 MB / 449.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.447, allocations: 1.114 MB / 450.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003515/0.4505, allocations: 1.358 MB / 451.7 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008307/0.4513, allocations: 276 kB / 452 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.4528, allocations: 371.8 kB / 452.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.4542, allocations: 0.7907 MB / 453.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002158/0.4563, allocations: 1.027 MB / 454.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007042/0.4634, allocations: 3.698 MB / 457.9 MB, free: 13.04 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.4634, allocations: 3.938 kB / 457.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.058e-06/0.4634, allocations: 0 / 457.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001206/0.4635, allocations: 0 / 457.9 MB, free: 13.03 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.00982/0.4733, allocations: 2.58 MB / 460.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.4734, allocations: 8.031 kB / 460.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/0.4748, allocations: 287.4 kB / 460.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00467/0.4795, allocations: 1.29 MB / 462 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.4797, allocations: 144.1 kB / 462.2 MB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000557/0.4802, allocations: 199.9 kB / 462.4 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006369/0.4866, allocations: 2.523 MB / 464.9 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.107e-05/0.4867, allocations: 3.984 kB / 464.9 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/0.487, allocations: 83.94 kB / 465 MB, free: 5.781 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/0.4871, allocations: 87.69 kB / 465.1 MB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005237/0.4923, allocations: 1.951 MB / 467 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01674/0.5091, allocations: 6.766 MB / 473.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/0.5113, allocations: 1.011 MB / 474.8 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002341/0.5136, allocations: 0.9172 MB / 475.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/0.5139, allocations: 44.97 kB / 475.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.5139, allocations: 39.56 kB / 475.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 4.649e-06/0.5139, allocations: 0 / 475.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01721/0.5311, allocations: 5.49 MB / 481.3 MB, free: 5.184 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.5312, allocations: 68.33 kB / 481.3 MB, free: 5.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/0.5335, allocations: 1.178 MB / 482.5 MB, free: 3.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002175/0.5337, allocations: 49.7 kB / 482.6 MB, free: 3.859 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008915/0.5346, allocations: 0.945 MB / 483.5 MB, free: 2.902 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005646/0.5352, allocations: 408.5 kB / 483.9 MB, free: 2.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000591/0.5358, allocations: 247.5 kB / 484.2 MB, free: 2.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.536, allocations: 361.9 kB / 484.5 MB, free: 1.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.5374, allocations: 0.6441 MB / 485.2 MB, free: 1.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.5391, allocations: 0.9965 MB / 486.1 MB, free: 108 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00334/0.5424, allocations: 1.727 MB / 487.9 MB, free: 14.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/0.5424, allocations: 4 kB / 487.9 MB, free: 14.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.007322/0.5498, allocations: 2.234 MB / 490.1 MB, free: 11.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/0.5498, allocations: 12 kB / 490.1 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-05/0.5499, allocations: 12 kB / 490.1 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/0.5519, allocations: 492.2 kB / 490.6 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001664/0.5536, allocations: 311.5 kB / 490.9 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.5641, allocations: 6.698 MB / 497.6 MB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.5662, allocations: 87.86 kB / 497.7 MB, free: 4.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002367/0.5664, allocations: 56.06 kB / 497.8 MB, free: 4.004 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.001566/0.568, allocations: 0.6086 MB / 498.4 MB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004504/0.5685, allocations: 143 kB / 498.5 MB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/0.573, allocations: 1.944 MB / 0.4887 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.573, allocations: 12 kB / 0.4887 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.573, allocations: 11.88 kB / 0.4887 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.5731, allocations: 7.969 kB / 0.4888 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/0.5845, allocations: 3.626 MB / 0.4923 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.5845, allocations: 4 kB / 0.4923 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.5861, allocations: 183.8 kB / 0.4925 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002974/0.5891, allocations: 0.5418 MB / 0.493 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/0.5893, allocations: 31.98 kB / 0.493 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/0.6012, allocations: 8.193 MB / 0.501 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/0.6013, allocations: 7.969 kB / 0.501 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008544/0.6098, allocations: 2.847 MB / 0.5038 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005699/0.6155, allocations: 263 kB / 0.5041 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000629/0.6161, allocations: 31.98 kB / 0.5041 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/0.6179, allocations: 64.39 kB / 0.5042 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004296/0.6183, allocations: 92.77 kB / 0.5043 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.6184, allocations: 32 kB / 0.5043 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002308/0.6207, allocations: 0.783 MB / 0.505 GB, free: 15.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6207, allocations: 3.938 kB / 0.5051 GB, free: 15.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003281/0.624, allocations: 444 kB / 0.5055 GB, free: 15.55 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.0007413/0.6247, allocations: 197.2 kB / 0.5057 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01295/0.6377, allocations: 2.004 MB / 0.5076 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/0.6377, allocations: 0 / 0.5076 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005167/0.6429, allocations: 1.384 MB / 0.509 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01311/0.656, allocations: 357.6 kB / 0.5093 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/0.6764, allocations: 4.162 MB / 0.5134 GB, free: 7.297 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001636/0.6781, allocations: 1.076 MB / 0.5144 GB, free: 6.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001291/0.6794, allocations: 315.7 kB / 0.5147 GB, free: 5.867 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/0.6797, allocations: 87.44 kB / 0.5148 GB, free: 5.781 MB / 430.1 MB Notification: Performance of SimCode: time 1.573e-06/0.6797, allocations: 0 / 0.5148 GB, free: 5.781 MB / 430.1 MB Notification: Performance of Templates: time 0.3372/1.017, allocations: 25.73 MB / 0.5399 GB, free: 102.6 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/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/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: 9.20962494298874]