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.001315/0.001315, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001645/0.001645, allocations: 212.2 kB / 23.73 MB, free: 4.16 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.558/1.558, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.001588/0.001588, allocations: 55.86 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2855, allocations: 53.36 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01245/0.298, allocations: 8.634 MB / 440.2 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006639/0.3046, allocations: 2.921 MB / 443.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.3059, allocations: 63.62 kB / 443.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.3077, allocations: 0.6117 MB / 443.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002422/0.3101, allocations: 0.792 MB / 444.6 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008884/0.311, allocations: 391.4 kB / 445 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003168/0.3142, allocations: 2.447 MB / 447.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.3157, allocations: 0.9938 MB / 448.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.3176, allocations: 1.114 MB / 449.6 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.3194, allocations: 1.253 MB / 450.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004108/0.3199, allocations: 280 kB / 451.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007938/0.3207, allocations: 379.8 kB / 451.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008556/0.3215, allocations: 0.7829 MB / 452.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.3227, allocations: 1.027 MB / 453.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00414/0.3269, allocations: 3.694 MB / 457 MB, free: 13.2 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3269, allocations: 3.938 kB / 457 MB, free: 13.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3269, allocations: 0 / 457 MB, free: 13.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.015e-05/0.3269, allocations: 0 / 457 MB, free: 13.2 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.005063/0.332, allocations: 2.583 MB / 459.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.332, allocations: 8.031 kB / 459.6 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008084/0.3328, allocations: 287.3 kB / 459.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/0.3354, allocations: 1.294 MB / 461.1 MB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.3356, allocations: 144.2 kB / 461.3 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003033/0.3359, allocations: 195.9 kB / 461.5 MB, free: 8.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004083/0.3399, allocations: 2.523 MB / 464 MB, free: 6.027 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.932e-05/0.34, allocations: 4 kB / 464 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.3402, allocations: 76 kB / 464.1 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.3403, allocations: 87.69 kB / 464.1 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/0.3437, allocations: 1.955 MB / 466.1 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01176/0.3554, allocations: 6.766 MB / 472.9 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.3571, allocations: 1.011 MB / 473.9 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001828/0.3589, allocations: 0.9133 MB / 474.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/0.3591, allocations: 44.97 kB / 474.8 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.3592, allocations: 47.5 kB / 474.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 3.286e-06/0.3592, allocations: 0 / 474.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01268/0.3718, allocations: 5.49 MB / 480.4 MB, free: 5.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.3719, allocations: 68.34 kB / 480.4 MB, free: 5.266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.3738, allocations: 1.186 MB / 481.6 MB, free: 4.066 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.044e-05/0.3739, allocations: 41.7 kB / 481.7 MB, free: 4.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008096/0.3747, allocations: 0.9489 MB / 482.6 MB, free: 3.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003994/0.3751, allocations: 408.5 kB / 483 MB, free: 2.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004409/0.3755, allocations: 251.5 kB / 483.3 MB, free: 2.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003146/0.3758, allocations: 361.9 kB / 483.6 MB, free: 2.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.3769, allocations: 0.6364 MB / 484.2 MB, free: 1.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.3783, allocations: 1 MB / 485.2 MB, free: 268 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002744/0.381, allocations: 1.731 MB / 487 MB, free: 14.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.381, allocations: 0 / 487 MB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004418/0.3854, allocations: 2.234 MB / 489.2 MB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.3855, allocations: 8 kB / 489.2 MB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.3855, allocations: 15.98 kB / 489.2 MB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.3868, allocations: 488.2 kB / 489.7 MB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.3879, allocations: 307.5 kB / 490 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008198/0.3961, allocations: 6.699 MB / 496.7 MB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.3974, allocations: 87.86 kB / 496.8 MB, free: 4.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.3975, allocations: 56 kB / 496.9 MB, free: 4.164 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.001181/0.3987, allocations: 0.6092 MB / 497.5 MB, free: 3.547 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.399, allocations: 147 kB / 497.6 MB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/0.4027, allocations: 1.936 MB / 499.5 MB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.4028, allocations: 8 kB / 499.5 MB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.4028, allocations: 11.94 kB / 499.6 MB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.4028, allocations: 8.156 kB / 499.6 MB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007194/0.41, allocations: 3.63 MB / 0.4914 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.41, allocations: 8 kB / 0.4914 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008469/0.4108, allocations: 187.7 kB / 0.4916 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/0.4124, allocations: 0.5429 MB / 0.4921 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.78e-05/0.4125, allocations: 27.98 kB / 0.4921 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009458/0.422, allocations: 8.201 MB / 0.5002 GB, free: 4.316 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.426e-05/0.422, allocations: 3.938 kB / 0.5002 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00491/0.4269, allocations: 2.836 MB / 0.5029 GB, free: 1.418 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008594/0.4277, allocations: 267 kB / 0.5032 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.4279, allocations: 28.08 kB / 0.5032 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007523/0.4287, allocations: 71.86 kB / 0.5033 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/0.4289, allocations: 88.77 kB / 0.5034 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-05/0.429, allocations: 39.98 kB / 0.5034 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001272/0.4303, allocations: 0.783 MB / 0.5042 GB, free: 148 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4303, allocations: 3.938 kB / 0.5042 GB, free: 144 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001546/0.4318, allocations: 436 kB / 0.5046 GB, free: 15.71 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.0003715/0.4322, allocations: 196.4 kB / 0.5048 GB, free: 15.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003983/0.4362, allocations: 2.003 MB / 0.5067 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.4362, allocations: 4 kB / 0.5067 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002479/0.4386, allocations: 1.373 MB / 0.5081 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.4405, allocations: 366 kB / 0.5084 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007884/0.4484, allocations: 4.173 MB / 0.5125 GB, free: 7.453 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.4498, allocations: 1.084 MB / 0.5136 GB, free: 6.328 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001101/0.4509, allocations: 307.7 kB / 0.5139 GB, free: 6.023 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/0.4512, allocations: 91.42 kB / 0.5139 GB, free: 5.934 MB / 430.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4512, allocations: 0 / 0.5139 GB, free: 5.934 MB / 430.1 MB Notification: Performance of Templates: time 0.2601/0.7113, allocations: 25.25 MB / 0.5386 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 -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.955921875312924]