Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001585/0.001585, allocations: 113 kB / 19.04 MB, free: 3.254 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.001695/0.001695, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 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.446/1.446, allocations: 225.6 MB / 250.8 MB, free: 13.34 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_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.0.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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 51.91 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2939, allocations: 52.13 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01301/0.3069, allocations: 9.798 MB / 430.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006755/0.3137, allocations: 3.034 MB / 433.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.3151, allocations: 51.75 kB / 433.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.3172, allocations: 0.6596 MB / 434.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.3199, allocations: 0.7843 MB / 435.2 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009965/0.3209, allocations: 379.3 kB / 435.6 MB, free: 348 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003048/0.324, allocations: 2.432 MB / 438 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.3255, allocations: 1.036 MB / 439 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.3269, allocations: 1.082 MB / 440.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.3286, allocations: 1.339 MB / 441.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003438/0.3289, allocations: 280 kB / 441.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006097/0.3295, allocations: 371.8 kB / 442.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007311/0.3303, allocations: 0.7946 MB / 442.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.3315, allocations: 1.268 MB / 444.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004671/0.3361, allocations: 3.651 MB / 447.8 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3361, allocations: 0 / 447.8 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3361, allocations: 0 / 447.8 MB, free: 4.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.906e-05/0.3362, allocations: 4 kB / 447.8 MB, free: 4.012 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.005224/0.3414, allocations: 2.639 MB / 450.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3415, allocations: 8.031 kB / 450.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006669/0.3421, allocations: 275.4 kB / 450.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.3444, allocations: 1.366 MB / 452.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.3445, allocations: 144.1 kB / 452.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003133/0.3448, allocations: 196.1 kB / 452.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004229/0.349, allocations: 2.419 MB / 454.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.467e-05/0.3491, allocations: 7.953 kB / 454.9 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/0.3493, allocations: 76 kB / 454.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.3494, allocations: 95.67 kB / 455 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003289/0.3527, allocations: 1.955 MB / 457 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01209/0.3648, allocations: 7.78 MB / 464.8 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.3665, allocations: 1.168 MB / 465.9 MB, free: 1.453 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001765/0.3683, allocations: 0.9059 MB / 466.8 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.3685, allocations: 114.1 kB / 466.9 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.3686, allocations: 51.5 kB / 467 MB, free: 364 kB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.926e-06/0.3686, allocations: 3.938 kB / 467 MB, free: 360 kB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01293/0.3815, allocations: 5.9 MB / 472.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.3816, allocations: 64.41 kB / 473 MB, free: 10.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.3836, allocations: 1.302 MB / 474.3 MB, free: 8.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.682e-05/0.3837, allocations: 45.7 kB / 474.3 MB, free: 8.883 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007561/0.3844, allocations: 0.9418 MB / 475.3 MB, free: 7.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/0.3848, allocations: 412.5 kB / 475.7 MB, free: 7.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004076/0.3852, allocations: 247.5 kB / 475.9 MB, free: 7.277 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.3854, allocations: 357.9 kB / 476.2 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.3864, allocations: 0.6364 MB / 476.9 MB, free: 6.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.3878, allocations: 1.004 MB / 477.9 MB, free: 5.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002608/0.3904, allocations: 1.735 MB / 479.6 MB, free: 3.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3904, allocations: 0 / 479.6 MB, free: 3.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00405/0.3945, allocations: 2.246 MB / 481.9 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.3945, allocations: 12 kB / 481.9 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.3945, allocations: 8.312 kB / 481.9 MB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.3958, allocations: 499.9 kB / 482.4 MB, free: 464 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.397, allocations: 299.5 kB / 482.7 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007939/0.4049, allocations: 7.132 MB / 489.8 MB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.4062, allocations: 79.98 kB / 489.9 MB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.4063, allocations: 59.98 kB / 489.9 MB, free: 8.477 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.001219/0.4076, allocations: 0.6032 MB / 490.5 MB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/0.4079, allocations: 155.2 kB / 490.7 MB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00357/0.4114, allocations: 1.953 MB / 492.6 MB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.4115, allocations: 19.92 kB / 492.7 MB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.4115, allocations: 4 kB / 492.7 MB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.4115, allocations: 8.031 kB / 492.7 MB, free: 5.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007087/0.4186, allocations: 4.109 MB / 496.8 MB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/0.4186, allocations: 4 kB / 496.8 MB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008045/0.4194, allocations: 192 kB / 497 MB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/0.4208, allocations: 0.5348 MB / 497.5 MB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.134e-05/0.4209, allocations: 31.92 kB / 497.5 MB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009241/0.4302, allocations: 8.749 MB / 0.4944 GB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.4302, allocations: 3.938 kB / 0.4944 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005141/0.4353, allocations: 2.848 MB / 0.4972 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.4364, allocations: 364 kB / 0.4976 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/0.4366, allocations: 27.98 kB / 0.4976 GB, free: 4.102 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008181/0.4374, allocations: 67.92 kB / 0.4976 GB, free: 4.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/0.4377, allocations: 96.78 kB / 0.4977 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.793e-05/0.4378, allocations: 32 kB / 0.4978 GB, free: 3.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001478/0.4393, allocations: 0.8878 MB / 0.4986 GB, free: 3.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4393, allocations: 0 / 0.4986 GB, free: 3.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00172/0.441, allocations: 443.9 kB / 0.4991 GB, free: 2.586 MB / 414.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.0004352/0.4414, allocations: 190.4 kB / 0.4992 GB, free: 2.391 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003782/0.4452, allocations: 2.161 MB / 0.5014 GB, free: 152 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.4452, allocations: 0 / 0.5014 GB, free: 152 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002379/0.4476, allocations: 1.445 MB / 0.5028 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/0.4497, allocations: 424.2 kB / 0.5032 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007076/0.4567, allocations: 4.183 MB / 0.5073 GB, free: 9.973 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/0.4582, allocations: 1.65 MB / 0.5089 GB, free: 8.289 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001008/0.4592, allocations: 316.8 kB / 0.5092 GB, free: 7.973 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002794/0.4595, allocations: 111.4 kB / 0.5093 GB, free: 7.863 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4595, allocations: 0 / 0.5093 GB, free: 7.863 MB / 430.1 MB Notification: Performance of Templates: time 0.2578/0.7173, allocations: 24.78 MB / 0.5335 GB, free: 109.5 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.619198544882238]