Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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.001762/0.001762, allocations: 119.4 kB / 18.41 MB, free: 4.516 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.002011/0.002011, allocations: 188.3 kB / 21.34 MB, free: 1.59 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.435/1.435, allocations: 222.9 MB / 247 MB, free: 4.332 MB / 190.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.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.0.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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 47.92 kB / 358.7 MB, free: 8.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09829/0.09985, allocations: 49.44 MB / 408.1 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01385/0.1137, allocations: 11.8 MB / 419.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00757/0.1213, allocations: 3.916 MB / 423.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.123, allocations: 63.75 kB / 423.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.1254, allocations: 0.8578 MB / 424.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.1284, allocations: 0.9705 MB / 425.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.1297, allocations: 0.5303 MB / 426.3 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005208/0.1349, allocations: 3.444 MB / 429.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2053/0.3403, allocations: 2.711 MB / 432.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.3429, allocations: 1.532 MB / 433.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003251/0.3461, allocations: 1.936 MB / 435.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001136/0.3473, allocations: 409 kB / 436.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.349, allocations: 0.6466 MB / 436.9 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.3503, allocations: 1.146 MB / 438.1 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002615/0.3529, allocations: 1.844 MB / 439.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007682/0.3606, allocations: 5.38 MB / 445.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.3606, allocations: 5.906 kB / 445.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3606, allocations: 0 / 445.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000165/0.3608, allocations: 0 / 445.3 MB, free: 4.266 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.009669/0.3705, allocations: 3.798 MB / 449.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3705, allocations: 11.47 kB / 449.1 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.3721, allocations: 454.2 kB / 449.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/0.3757, allocations: 1.965 MB / 451.5 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.3759, allocations: 209.3 kB / 451.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004428/0.3763, allocations: 273.4 kB / 452 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006094/0.3824, allocations: 3.526 MB / 455.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.115e-05/0.3825, allocations: 6.391 kB / 455.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002598/0.3828, allocations: 108.6 kB / 455.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001435/0.3829, allocations: 119.3 kB / 455.7 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004788/0.3877, allocations: 2.978 MB / 458.7 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01866/0.4064, allocations: 11 MB / 469.7 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002882/0.4093, allocations: 2.27 MB / 472 MB, free: 6.461 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002172/0.4115, allocations: 1.174 MB / 473.2 MB, free: 5.289 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003262/0.4118, allocations: 210.5 kB / 473.4 MB, free: 5.051 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.4119, allocations: 46.88 kB / 473.4 MB, free: 5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=131): time 3.126e-06/0.4119, allocations: 0 / 473.4 MB, free: 5 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.0183/0.4302, allocations: 7.563 MB / 481 MB, free: 13.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.4303, allocations: 68.72 kB / 481 MB, free: 13.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003479/0.4338, allocations: 1.975 MB / 483 MB, free: 11.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.4339, allocations: 53.7 kB / 483.1 MB, free: 11.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001257/0.4352, allocations: 1.353 MB / 484.4 MB, free: 9.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000536/0.4358, allocations: 0.5306 MB / 485 MB, free: 9.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006115/0.4364, allocations: 331.4 kB / 485.3 MB, free: 8.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4365, allocations: 301.1 kB / 485.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.4383, allocations: 0.8784 MB / 486.5 MB, free: 7.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/0.4405, allocations: 1.377 MB / 487.8 MB, free: 6.211 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003835/0.4443, allocations: 2.384 MB / 490.2 MB, free: 3.684 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.4443, allocations: 4 kB / 490.2 MB, free: 3.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005942/0.4503, allocations: 2.989 MB / 493.2 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.4503, allocations: 14.12 kB / 493.2 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.664e-05/0.4504, allocations: 16.38 kB / 493.2 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.4517, allocations: 464.9 kB / 493.7 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/0.4534, allocations: 431.5 kB / 494.1 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007795/0.4612, allocations: 6.1 MB / 0.4885 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.4636, allocations: 126.8 kB / 0.4886 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002361/0.4638, allocations: 79.98 kB / 0.4887 GB, free: 9.324 MB / 398.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.001859/0.4657, allocations: 0.8448 MB / 0.4895 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005703/0.4663, allocations: 218.6 kB / 0.4897 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005274/0.4715, allocations: 2.592 MB / 0.4923 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.932e-05/0.4716, allocations: 20 kB / 0.4923 GB, free: 5.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.4716, allocations: 4 kB / 0.4923 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.4716, allocations: 7.969 kB / 0.4923 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/0.4828, allocations: 5.621 MB / 0.4978 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.4829, allocations: 4 kB / 0.4978 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.4842, allocations: 281.5 kB / 0.498 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/0.4857, allocations: 0.4919 MB / 0.4985 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.4858, allocations: 39.97 kB / 0.4986 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009081/0.4949, allocations: 7.681 MB / 0.5061 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.4949, allocations: 6.625 kB / 0.5061 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00715/0.5021, allocations: 3.861 MB / 0.5098 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/0.5035, allocations: 491.5 kB / 0.5103 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000352/0.5039, allocations: 32 kB / 0.5103 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.5051, allocations: 103.9 kB / 0.5104 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003468/0.5055, allocations: 115.8 kB / 0.5105 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.5056, allocations: 43.98 kB / 0.5106 GB, free: 2.371 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002355/0.508, allocations: 1.36 MB / 0.5119 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.508, allocations: 0 / 0.5119 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002419/0.5104, allocations: 0.5936 MB / 0.5125 GB, free: 404 kB / 414.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.0005374/0.5109, allocations: 223.8 kB / 0.5127 GB, free: 188 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005/0.5159, allocations: 2.608 MB / 0.5153 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.516, allocations: 1 kB / 0.5153 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003036/0.519, allocations: 1.614 MB / 0.5168 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/0.5217, allocations: 495.5 kB / 0.5173 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.5323, allocations: 5.732 MB / 0.5229 GB, free: 5.707 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00216/0.5345, allocations: 2.106 MB / 0.525 GB, free: 3.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008771/0.5354, allocations: 154 kB / 0.5251 GB, free: 3.422 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5354, allocations: 0 / 0.5251 GB, free: 3.422 MB / 430.1 MB Notification: Performance of Templates: time 0.09504/0.6304, allocations: 75.48 MB / 0.5988 GB, free: 8.023 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.390054355026223]