Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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.001318/0.001318, allocations: 99.64 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.001472/0.001472, allocations: 213.1 kB / 24.48 MB, free: 3.93 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.446/1.446, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.lesigma.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2681, allocations: 53.38 MB / 432.4 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01377/0.2819, allocations: 10.41 MB / 442.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007823/0.2897, allocations: 3.768 MB / 446.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.2913, allocations: 87.44 kB / 446.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002158/0.2934, allocations: 0.8424 MB / 447.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.2962, allocations: 1.033 MB / 448.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.2975, allocations: 0.5305 MB / 449 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004242/0.3017, allocations: 3.471 MB / 452.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.3039, allocations: 1.479 MB / 454 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002363/0.3062, allocations: 1.585 MB / 455.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002925/0.3092, allocations: 1.879 MB / 457.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006382/0.3098, allocations: 408 kB / 457.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.3112, allocations: 0.6206 MB / 458.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001289/0.3124, allocations: 1.169 MB / 459.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001827/0.3143, allocations: 1.494 MB / 461.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006104/0.3204, allocations: 5.426 MB / 466.5 MB, free: 4.336 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3204, allocations: 0 / 466.5 MB, free: 4.336 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3204, allocations: 0 / 466.5 MB, free: 4.336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001008/0.3205, allocations: 0 / 466.5 MB, free: 4.336 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.008256/0.3287, allocations: 3.741 MB / 470.3 MB, free: 0.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.3288, allocations: 12.03 kB / 470.3 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/0.3305, allocations: 490.5 kB / 470.8 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004082/0.3346, allocations: 1.914 MB / 472.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.3348, allocations: 201.4 kB / 472.9 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004621/0.3353, allocations: 271.9 kB / 473.2 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006616/0.3419, allocations: 3.643 MB / 476.8 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.024e-05/0.3419, allocations: 4 kB / 476.8 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/0.3422, allocations: 108 kB / 476.9 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/0.3424, allocations: 125.2 kB / 477 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005605/0.348, allocations: 2.964 MB / 480 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01768/0.3657, allocations: 9.584 MB / 489.6 MB, free: 12.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/0.3683, allocations: 1.499 MB / 491.1 MB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002062/0.3704, allocations: 1.094 MB / 492.2 MB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002379/0.3706, allocations: 49.28 kB / 492.2 MB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.3706, allocations: 51.88 kB / 492.3 MB, free: 10.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 4.007e-06/0.3706, allocations: 0 / 492.3 MB, free: 10.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01751/0.3881, allocations: 7.082 MB / 499.4 MB, free: 2.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.3882, allocations: 68.72 kB / 499.4 MB, free: 2.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003183/0.3914, allocations: 1.835 MB / 0.4895 GB, free: 1.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001556/0.3916, allocations: 49.7 kB / 0.4896 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.3927, allocations: 1.357 MB / 0.4909 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005326/0.3933, allocations: 0.5307 MB / 0.4914 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006359/0.3939, allocations: 323.5 kB / 0.4917 GB, free: 14.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.3941, allocations: 301.1 kB / 0.492 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.3958, allocations: 0.8862 MB / 0.4929 GB, free: 13.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/0.3978, allocations: 1.38 MB / 0.4942 GB, free: 11.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003768/0.4015, allocations: 2.373 MB / 0.4965 GB, free: 9.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/0.4015, allocations: 4 kB / 0.4965 GB, free: 9.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005617/0.4072, allocations: 2.9 MB / 0.4994 GB, free: 6.488 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.4072, allocations: 15.94 kB / 0.4994 GB, free: 6.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.4072, allocations: 16 kB / 0.4994 GB, free: 6.457 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.4085, allocations: 456.5 kB / 0.4998 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/0.4102, allocations: 431.3 kB / 0.5002 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007745/0.418, allocations: 5.787 MB / 0.5059 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.4197, allocations: 127.8 kB / 0.506 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.4198, allocations: 72 kB / 0.5061 GB, free: 15.41 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001635/0.4215, allocations: 0.8524 MB / 0.5069 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000453/0.4219, allocations: 210.7 kB / 0.5071 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00491/0.4268, allocations: 2.499 MB / 0.5096 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.392e-05/0.4268, allocations: 16 kB / 0.5096 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.4269, allocations: 4 kB / 0.5096 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.4269, allocations: 11.91 kB / 0.5096 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.4369, allocations: 4.857 MB / 0.5143 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.4369, allocations: 4 kB / 0.5143 GB, free: 6.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.4381, allocations: 275.6 kB / 0.5146 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/0.4395, allocations: 0.5024 MB / 0.5151 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/0.4397, allocations: 43.97 kB / 0.5151 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009058/0.4487, allocations: 7.238 MB / 0.5222 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.4487, allocations: 11.88 kB / 0.5222 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006689/0.4554, allocations: 3.741 MB / 0.5259 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/0.4568, allocations: 394.5 kB / 0.5262 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/0.4571, allocations: 40.06 kB / 0.5263 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.4582, allocations: 103.9 kB / 0.5264 GB, free: 10.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003322/0.4586, allocations: 121 kB / 0.5265 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.4587, allocations: 47.98 kB / 0.5265 GB, free: 9.938 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002042/0.4607, allocations: 1.235 MB / 0.5277 GB, free: 8.711 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4607, allocations: 0 / 0.5277 GB, free: 8.711 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001921/0.4626, allocations: 0.5819 MB / 0.5283 GB, free: 8.129 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,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.0004731/0.4631, allocations: 229.9 kB / 0.5285 GB, free: 7.895 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004626/0.4677, allocations: 2.439 MB / 0.5309 GB, free: 5.426 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4677, allocations: 0 / 0.5309 GB, free: 5.426 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0029/0.4706, allocations: 1.545 MB / 0.5324 GB, free: 3.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002212/0.4728, allocations: 431.3 kB / 0.5328 GB, free: 3.422 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2171/0.6899, allocations: 5.724 MB / 0.5384 GB, free: 100.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002282/0.6922, allocations: 1.556 MB / 0.5399 GB, free: 100 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009374/0.6931, allocations: 144.8 kB / 0.5401 GB, free: 100 MB / 446.1 MB Notification: Performance of SimCode: time 1.313e-06/0.6931, allocations: 0 / 0.5401 GB, free: 100 MB / 446.1 MB Notification: Performance of Templates: time 0.06066/0.7538, allocations: 75.76 MB / 0.6141 GB, free: 31.97 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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: 13.979953065980226]