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.001682/0.001682, allocations: 103.5 kB / 20.44 MB, free: 1.332 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.00188/0.00188, allocations: 188.6 kB / 23.7 MB, free: 4.523 MB / 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.534/1.534, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.001621/0.001621, allocations: 47.92 kB / 370.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2827, allocations: 52.19 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01232/0.295, allocations: 8.586 MB / 431.7 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006873/0.3019, allocations: 2.859 MB / 434.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.3037, allocations: 59.62 kB / 434.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002404/0.3061, allocations: 0.6171 MB / 435.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003645/0.3097, allocations: 0.7882 MB / 436 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.3113, allocations: 379.4 kB / 436.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004205/0.3155, allocations: 2.421 MB / 438.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.3179, allocations: 0.9962 MB / 439.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.3203, allocations: 1.106 MB / 440.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002803/0.3231, allocations: 1.249 MB / 442.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.3241, allocations: 280 kB / 442.4 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.3257, allocations: 367.8 kB / 442.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.3273, allocations: 0.7907 MB / 443.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00268/0.33, allocations: 1.027 MB / 444.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005358/0.3353, allocations: 3.671 MB / 448.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3353, allocations: 0 / 448.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3353, allocations: 0 / 448.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001095/0.3354, allocations: 0 / 448.3 MB, free: 5.141 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.005979/0.3414, allocations: 2.572 MB / 450.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.3415, allocations: 8.031 kB / 450.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007747/0.3423, allocations: 279.4 kB / 451.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/0.345, allocations: 1.278 MB / 452.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.3452, allocations: 148.1 kB / 452.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003188/0.3455, allocations: 196.1 kB / 452.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004485/0.35, allocations: 2.523 MB / 455.3 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.386e-05/0.35, allocations: 11.89 kB / 455.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.3502, allocations: 76 kB / 455.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/0.3503, allocations: 95.61 kB / 455.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003546/0.3539, allocations: 1.951 MB / 457.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0125/0.3664, allocations: 6.762 MB / 464.1 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.3681, allocations: 1.006 MB / 465.2 MB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/0.37, allocations: 0.9133 MB / 466.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002117/0.3702, allocations: 44.97 kB / 466.1 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.3703, allocations: 43.55 kB / 466.2 MB, free: 2.859 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.357e-06/0.3703, allocations: 0 / 466.2 MB, free: 2.859 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01324/0.3835, allocations: 5.493 MB / 471.6 MB, free: 13.31 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.3836, allocations: 68.41 kB / 471.7 MB, free: 13.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.3855, allocations: 1.166 MB / 472.9 MB, free: 12.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.3856, allocations: 45.7 kB / 472.9 MB, free: 12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007968/0.3864, allocations: 0.9449 MB / 473.9 MB, free: 11.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004062/0.3868, allocations: 412.5 kB / 474.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004136/0.3872, allocations: 243.5 kB / 474.5 MB, free: 10.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.3874, allocations: 369.8 kB / 474.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.3884, allocations: 0.6403 MB / 475.5 MB, free: 9.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.3898, allocations: 0.9964 MB / 476.5 MB, free: 8.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002498/0.3923, allocations: 1.724 MB / 478.2 MB, free: 6.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.3923, allocations: 4 kB / 478.2 MB, free: 6.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004087/0.3964, allocations: 2.234 MB / 480.5 MB, free: 4.117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.3964, allocations: 15.88 kB / 480.5 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.3964, allocations: 12 kB / 480.5 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.3977, allocations: 496.2 kB / 481 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.3988, allocations: 307.5 kB / 481.3 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007612/0.4064, allocations: 6.707 MB / 488 MB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.4077, allocations: 87.86 kB / 488.1 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.4078, allocations: 56 kB / 488.1 MB, free: 12.14 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.001243/0.4091, allocations: 0.599 MB / 488.7 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/0.4094, allocations: 143 kB / 488.9 MB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/0.413, allocations: 1.94 MB / 490.8 MB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.413, allocations: 12 kB / 490.8 MB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.413, allocations: 7.938 kB / 490.8 MB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.413, allocations: 7.969 kB / 490.8 MB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007486/0.4205, allocations: 3.634 MB / 494.5 MB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.4205, allocations: 0 / 494.5 MB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000823/0.4213, allocations: 179.8 kB / 494.6 MB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001605/0.4229, allocations: 0.5468 MB / 495.2 MB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.4231, allocations: 27.98 kB / 495.2 MB, free: 4.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009639/0.4327, allocations: 8.201 MB / 0.4916 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.4327, allocations: 4 kB / 0.4916 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005089/0.4378, allocations: 2.832 MB / 0.4944 GB, free: 9.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009692/0.4388, allocations: 267 kB / 0.4946 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003507/0.4391, allocations: 24 kB / 0.4947 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009254/0.44, allocations: 67.92 kB / 0.4947 GB, free: 9.059 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002628/0.4403, allocations: 100.8 kB / 0.4948 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.021e-05/0.4404, allocations: 35.98 kB / 0.4949 GB, free: 8.926 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001495/0.4419, allocations: 0.7789 MB / 0.4956 GB, free: 8.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4419, allocations: 0 / 0.4956 GB, free: 8.141 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001863/0.4438, allocations: 436 kB / 0.496 GB, free: 7.715 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.0004323/0.4442, allocations: 183.6 kB / 0.4962 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003886/0.4481, allocations: 2.015 MB / 0.4982 GB, free: 5.469 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.4481, allocations: 0 / 0.4982 GB, free: 5.469 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002482/0.4506, allocations: 1.384 MB / 0.4995 GB, free: 4.031 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/0.4527, allocations: 344.5 kB / 0.4999 GB, free: 3.691 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008507/0.4612, allocations: 4.174 MB / 0.5039 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001938/0.4631, allocations: 1.072 MB / 0.505 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001242/0.4644, allocations: 307.8 kB / 0.5053 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/0.4648, allocations: 91.42 kB / 0.5054 GB, free: 13.95 MB / 430.1 MB Notification: Performance of SimCode: time 1.093e-06/0.4648, allocations: 0 / 0.5054 GB, free: 13.95 MB / 430.1 MB Notification: Performance of Templates: time 0.04622/0.511, allocations: 25.16 MB / 0.5299 GB, free: 5.152 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.879682715982199]