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.001432/0.001432, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001481/0.001481, allocations: 211.4 kB / 23.73 MB, free: 4.523 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.565/1.565, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001625/0.001625, allocations: 47.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2839, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.02076/0.3047, allocations: 10.43 MB / 442 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.3167, allocations: 3.768 MB / 445.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003462/0.3202, allocations: 79.5 kB / 445.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003512/0.3237, allocations: 0.8387 MB / 446.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00431/0.328, allocations: 1.049 MB / 447.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001926/0.3299, allocations: 0.5266 MB / 448.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006449/0.3364, allocations: 3.475 MB / 451.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004185/0.3406, allocations: 1.541 MB / 453.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00393/0.3445, allocations: 1.592 MB / 454.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004498/0.349, allocations: 1.985 MB / 456.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001719/0.3507, allocations: 408 kB / 457.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/0.3534, allocations: 0.6362 MB / 457.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002493/0.3559, allocations: 1.165 MB / 459.1 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003662/0.3596, allocations: 1.494 MB / 460.6 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009669/0.3692, allocations: 5.425 MB / 466 MB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3692, allocations: 4 kB / 466 MB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3692, allocations: 0 / 466 MB, free: 4.137 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002751/0.3695, allocations: 4 kB / 466 MB, free: 4.133 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.01569/0.3852, allocations: 3.738 MB / 469.7 MB, free: 352 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.3853, allocations: 8.031 kB / 469.7 MB, free: 344 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003048/0.3883, allocations: 494.5 kB / 470.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005979/0.3943, allocations: 1.91 MB / 472.1 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002883/0.3946, allocations: 201.4 kB / 472.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/0.3957, allocations: 275.9 kB / 472.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.4063, allocations: 3.646 MB / 476.2 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/0.4064, allocations: 11.98 kB / 476.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000767/0.4072, allocations: 104 kB / 476.4 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002036/0.4074, allocations: 121.3 kB / 476.5 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008162/0.4156, allocations: 2.96 MB / 479.4 MB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02561/0.4412, allocations: 9.584 MB / 489 MB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003618/0.4448, allocations: 1.495 MB / 490.5 MB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002388/0.4472, allocations: 1.09 MB / 491.6 MB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/0.4475, allocations: 65.2 kB / 491.7 MB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.98e-05/0.4476, allocations: 47.88 kB / 491.7 MB, free: 9.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 4.408e-06/0.4476, allocations: 0 / 491.7 MB, free: 9.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.02015/0.4677, allocations: 7.079 MB / 498.8 MB, free: 2.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.4678, allocations: 68.72 kB / 498.9 MB, free: 2.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004313/0.4721, allocations: 1.831 MB / 0.489 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003406/0.4724, allocations: 53.69 kB / 0.489 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/0.474, allocations: 1.354 MB / 0.4903 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008969/0.4749, allocations: 0.5268 MB / 0.4908 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009542/0.4758, allocations: 331.4 kB / 0.4912 GB, free: 14.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.476, allocations: 305.1 kB / 0.4915 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.4778, allocations: 0.8823 MB / 0.4923 GB, free: 13.38 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002264/0.48, allocations: 1.384 MB / 0.4937 GB, free: 11.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004137/0.4842, allocations: 2.373 MB / 0.496 GB, free: 9.207 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.065e-05/0.4842, allocations: 8 kB / 0.496 GB, free: 9.199 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006375/0.4906, allocations: 2.892 MB / 0.4988 GB, free: 6.293 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.4906, allocations: 15.94 kB / 0.4988 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.325e-05/0.4907, allocations: 16 kB / 0.4988 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.492, allocations: 461.4 kB / 0.4993 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/0.4939, allocations: 431.2 kB / 0.4997 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008476/0.5023, allocations: 5.78 MB / 0.5053 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002085/0.5044, allocations: 135.8 kB / 0.5055 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003591/0.5048, allocations: 71.98 kB / 0.5055 GB, free: 15.2 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.002166/0.5069, allocations: 0.8447 MB / 0.5064 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008053/0.5078, allocations: 206.7 kB / 0.5066 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005778/0.5135, allocations: 2.499 MB / 0.509 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.491e-05/0.5136, allocations: 19.98 kB / 0.509 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/0.5136, allocations: 4 kB / 0.509 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.5136, allocations: 11.97 kB / 0.509 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.5264, allocations: 4.861 MB / 0.5138 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.5265, allocations: 0 / 0.5138 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.5278, allocations: 288 kB / 0.5141 GB, free: 6.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/0.5294, allocations: 0.4902 MB / 0.5145 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001802/0.5296, allocations: 35.98 kB / 0.5146 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009462/0.5391, allocations: 7.247 MB / 0.5217 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.776e-06/0.5391, allocations: 4 kB / 0.5217 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008082/0.5471, allocations: 3.749 MB / 0.5253 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/0.549, allocations: 394.5 kB / 0.5257 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007526/0.5498, allocations: 35.98 kB / 0.5257 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/0.5516, allocations: 99.89 kB / 0.5258 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/0.552, allocations: 129 kB / 0.5259 GB, free: 9.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.5521, allocations: 36 kB / 0.526 GB, free: 9.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00318/0.5553, allocations: 1.242 MB / 0.5272 GB, free: 8.516 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5553, allocations: 0 / 0.5272 GB, free: 8.516 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003418/0.5587, allocations: 0.582 MB / 0.5278 GB, free: 7.934 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.0007877/0.5595, allocations: 222.8 kB / 0.528 GB, free: 7.703 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005444/0.5649, allocations: 2.438 MB / 0.5304 GB, free: 5.234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/0.5649, allocations: 0 / 0.5304 GB, free: 5.234 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003156/0.5681, allocations: 1.545 MB / 0.5319 GB, free: 3.648 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/0.5714, allocations: 436 kB / 0.5323 GB, free: 3.227 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2397/0.8111, allocations: 5.685 MB / 0.5378 GB, free: 100.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002259/0.8133, allocations: 1.577 MB / 0.5394 GB, free: 100 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001643/0.815, allocations: 454 kB / 0.5398 GB, free: 100 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004226/0.8154, allocations: 132.9 kB / 0.5399 GB, free: 100 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.8154, allocations: 4.125 kB / 0.5399 GB, free: 100 MB / 446.1 MB Notification: Performance of Templates: time 0.0436/0.859, allocations: 33.73 MB / 0.5729 GB, free: 73.28 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/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: 6.464969334192574]