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.001369/0.001369, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001457/0.001457, allocations: 209 kB / 24.48 MB, free: 3.938 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.444/1.444, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.001722/0.001722, allocations: 47.92 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2479, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01144/0.2593, allocations: 8.633 MB / 441 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007028/0.2664, allocations: 2.925 MB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.2678, allocations: 59.62 kB / 444 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.2695, allocations: 0.6171 MB / 444.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.2718, allocations: 0.792 MB / 445.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000921/0.2728, allocations: 391.4 kB / 445.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002965/0.2757, allocations: 2.435 MB / 448.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001503/0.2772, allocations: 1.009 MB / 449.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.2789, allocations: 1.114 MB / 450.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.2809, allocations: 1.245 MB / 451.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004246/0.2813, allocations: 280 kB / 451.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007674/0.2821, allocations: 367.8 kB / 452.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008035/0.2829, allocations: 0.7946 MB / 453 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001178/0.2841, allocations: 1.023 MB / 454 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004375/0.2884, allocations: 3.694 MB / 457.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2884, allocations: 3.938 kB / 457.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2884, allocations: 0 / 457.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.089e-05/0.2885, allocations: 4 kB / 457.7 MB, free: 13.22 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.005543/0.2941, allocations: 2.579 MB / 460.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.2941, allocations: 16.03 kB / 460.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008116/0.2949, allocations: 287.3 kB / 460.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.2974, allocations: 1.29 MB / 461.9 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.2976, allocations: 144.1 kB / 462 MB, free: 8.828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003065/0.2979, allocations: 195.9 kB / 462.2 MB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004196/0.3021, allocations: 2.519 MB / 464.7 MB, free: 6.055 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.732e-05/0.3021, allocations: 7.984 kB / 464.7 MB, free: 6.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.3023, allocations: 75.94 kB / 464.8 MB, free: 5.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.3024, allocations: 91.69 kB / 464.9 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003492/0.3059, allocations: 1.962 MB / 466.9 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/0.3179, allocations: 6.762 MB / 473.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.3196, allocations: 1.011 MB / 474.6 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/0.3215, allocations: 0.9094 MB / 475.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002027/0.3217, allocations: 44.97 kB / 475.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.3217, allocations: 47.5 kB / 475.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 2.946e-06/0.3217, allocations: 4 kB / 475.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01287/0.3346, allocations: 5.484 MB / 481.1 MB, free: 5.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.3347, allocations: 76.33 kB / 481.2 MB, free: 5.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/0.3365, allocations: 1.174 MB / 482.4 MB, free: 4.094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001268/0.3367, allocations: 45.7 kB / 482.4 MB, free: 4.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007562/0.3374, allocations: 0.9489 MB / 483.4 MB, free: 3.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003956/0.3378, allocations: 408.5 kB / 483.8 MB, free: 2.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003977/0.3382, allocations: 247.5 kB / 484 MB, free: 2.434 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3384, allocations: 365.9 kB / 484.4 MB, free: 2.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.3394, allocations: 0.6364 MB / 485 MB, free: 1.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.3408, allocations: 1 MB / 486 MB, free: 292 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002542/0.3434, allocations: 1.731 MB / 487.7 MB, free: 14.4 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.3434, allocations: 4 kB / 487.7 MB, free: 14.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004128/0.3475, allocations: 2.23 MB / 490 MB, free: 12.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.3475, allocations: 12 kB / 490 MB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.3475, allocations: 8 kB / 490 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.3488, allocations: 496.1 kB / 490.5 MB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.3499, allocations: 303.5 kB / 490.8 MB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007731/0.3576, allocations: 6.702 MB / 497.5 MB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.3589, allocations: 91.92 kB / 497.6 MB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.359, allocations: 52.06 kB / 497.6 MB, free: 4.184 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.00116/0.3602, allocations: 0.6162 MB / 498.2 MB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/0.3605, allocations: 143 kB / 498.4 MB, free: 3.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003584/0.3641, allocations: 1.94 MB / 0.4886 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.3641, allocations: 12 kB / 0.4886 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.3641, allocations: 7.938 kB / 0.4886 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.3641, allocations: 7.969 kB / 0.4886 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007339/0.3715, allocations: 3.63 MB / 0.4921 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.3715, allocations: 4.281 kB / 0.4922 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008403/0.3723, allocations: 183.8 kB / 0.4923 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001551/0.3739, allocations: 0.5426 MB / 0.4929 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.374, allocations: 31.98 kB / 0.4929 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009191/0.3832, allocations: 8.185 MB / 0.5009 GB, free: 4.348 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.3832, allocations: 11.92 kB / 0.5009 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004935/0.3881, allocations: 2.84 MB / 0.5037 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009299/0.3891, allocations: 263 kB / 0.5039 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.3893, allocations: 35.98 kB / 0.5039 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007638/0.39, allocations: 68.48 kB / 0.504 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002473/0.3903, allocations: 92.7 kB / 0.5041 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.267e-05/0.3904, allocations: 32 kB / 0.5041 GB, free: 0.957 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001279/0.3916, allocations: 0.783 MB / 0.5049 GB, free: 172 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3916, allocations: 3.938 kB / 0.5049 GB, free: 168 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001719/0.3934, allocations: 444 kB / 0.5053 GB, free: 15.73 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.0004192/0.3938, allocations: 190.9 kB / 0.5055 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003691/0.3975, allocations: 2.007 MB / 0.5075 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3975, allocations: 0 / 0.5075 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002434/0.3999, allocations: 1.38 MB / 0.5088 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.402, allocations: 369.2 kB / 0.5092 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008185/0.4102, allocations: 4.209 MB / 0.5133 GB, free: 7.422 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/0.4118, allocations: 1.064 MB / 0.5143 GB, free: 6.316 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005117/0.4123, allocations: 103.4 kB / 0.5144 GB, free: 6.215 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4123, allocations: 0 / 0.5144 GB, free: 6.215 MB / 430.1 MB Notification: Performance of Templates: time 0.2909/0.7032, allocations: 70.87 MB / 0.5836 GB, free: 63.24 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/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: 12.606998150702566]