Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.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.001361/0.001361, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001415/0.001415, allocations: 194.6 kB / 23.71 MB, free: 4.406 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.453/1.453, allocations: 225.7 MB / 252.5 MB, free: 12.8 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.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 51.91 kB / 370.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2345, allocations: 52.19 MB / 423.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01331/0.2478, allocations: 10.08 MB / 433.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007337/0.2552, allocations: 3.641 MB / 436.8 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.2566, allocations: 79.5 kB / 436.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002022/0.2586, allocations: 0.8194 MB / 437.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002742/0.2614, allocations: 0.9941 MB / 438.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.2626, allocations: 0.5148 MB / 439.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003976/0.2665, allocations: 3.215 MB / 442.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002131/0.2687, allocations: 1.415 MB / 443.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.2707, allocations: 1.468 MB / 445.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002798/0.2735, allocations: 1.735 MB / 447.1 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006901/0.2742, allocations: 388 kB / 447.4 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.2755, allocations: 0.601 MB / 448 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.2767, allocations: 1.087 MB / 449.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001669/0.2783, allocations: 1.4 MB / 450.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005881/0.2842, allocations: 5.072 MB / 455.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2842, allocations: 0 / 455.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2842, allocations: 0 / 455.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001071/0.2843, allocations: 0 / 455.6 MB, free: 13.94 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.008947/0.2933, allocations: 3.495 MB / 459.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.2933, allocations: 8.031 kB / 459.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.2954, allocations: 426.7 kB / 459.5 MB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005592/0.301, allocations: 1.768 MB / 461.3 MB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.3012, allocations: 189.2 kB / 461.5 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006859/0.3019, allocations: 251.9 kB / 461.7 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009584/0.3115, allocations: 3.377 MB / 465.1 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.3116, allocations: 3.938 kB / 465.1 MB, free: 4.238 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003562/0.3119, allocations: 104 kB / 465.2 MB, free: 4.137 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002154/0.3121, allocations: 120.9 kB / 465.3 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008067/0.3202, allocations: 2.69 MB / 468 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02315/0.3434, allocations: 8.907 MB / 476.9 MB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/0.3456, allocations: 1.263 MB / 478.2 MB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/0.3475, allocations: 0.9805 MB / 479.1 MB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.3478, allocations: 48.97 kB / 479.2 MB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/0.3478, allocations: 51.5 kB / 479.2 MB, free: 5.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.457e-06/0.3478, allocations: 0 / 479.2 MB, free: 5.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01915/0.367, allocations: 7.056 MB / 486.3 MB, free: 14.64 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.367, allocations: 64.72 kB / 486.4 MB, free: 14.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/0.3699, allocations: 1.699 MB / 488.1 MB, free: 12.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.37, allocations: 45.7 kB / 488.1 MB, free: 12.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.3711, allocations: 1.294 MB / 489.4 MB, free: 11.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004648/0.3715, allocations: 487.8 kB / 489.9 MB, free: 11.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004975/0.372, allocations: 303.4 kB / 490.2 MB, free: 10.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3722, allocations: 305.1 kB / 490.5 MB, free: 10.42 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.3737, allocations: 0.8197 MB / 491.3 MB, free: 9.598 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.3756, allocations: 1.308 MB / 492.6 MB, free: 8.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003563/0.3792, allocations: 2.254 MB / 494.9 MB, free: 5.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.3792, allocations: 8 kB / 494.9 MB, free: 5.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.0052/0.3844, allocations: 2.709 MB / 497.6 MB, free: 2.867 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.3844, allocations: 8 kB / 497.6 MB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.3845, allocations: 19.94 kB / 497.6 MB, free: 2.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.3855, allocations: 418.1 kB / 498 MB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/0.387, allocations: 403.3 kB / 498.4 MB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006784/0.3938, allocations: 5.488 MB / 0.4921 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.3955, allocations: 123.8 kB / 0.4922 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.3957, allocations: 71.98 kB / 0.4923 GB, free: 12.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 182 * 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,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001394/0.3971, allocations: 0.7973 MB / 0.493 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003881/0.3974, allocations: 194.8 kB / 0.4932 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004416/0.4019, allocations: 2.291 MB / 0.4955 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.224e-05/0.4019, allocations: 20 kB / 0.4955 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4019, allocations: 4 kB / 0.4955 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.4019, allocations: 7.969 kB / 0.4955 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008685/0.4106, allocations: 4.53 MB / 0.4999 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.4106, allocations: 8 kB / 0.4999 GB, free: 4.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.4117, allocations: 252.2 kB / 0.5002 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001242/0.413, allocations: 457.6 kB / 0.5006 GB, free: 3.457 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.4131, allocations: 39.92 kB / 0.5006 GB, free: 3.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008181/0.4213, allocations: 6.909 MB / 0.5074 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.4213, allocations: 4 kB / 0.5074 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006699/0.428, allocations: 3.482 MB / 0.5108 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/0.4293, allocations: 358.7 kB / 0.5111 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/0.4296, allocations: 39.92 kB / 0.5112 GB, free: 8.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.4308, allocations: 99.84 kB / 0.5113 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003314/0.4311, allocations: 112.7 kB / 0.5114 GB, free: 8.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001265/0.4312, allocations: 43.98 kB / 0.5114 GB, free: 7.988 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00299/0.4342, allocations: 1.157 MB / 0.5126 GB, free: 6.836 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4342, allocations: 0 / 0.5126 GB, free: 6.836 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003366/0.4376, allocations: 0.5429 MB / 0.5131 GB, free: 6.293 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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,12,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.0006913/0.4383, allocations: 218.7 kB / 0.5133 GB, free: 6.066 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006084/0.4443, allocations: 2.271 MB / 0.5155 GB, free: 3.773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/0.4444, allocations: 0 / 0.5155 GB, free: 3.773 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00406/0.4484, allocations: 1.447 MB / 0.5169 GB, free: 2.293 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/0.4517, allocations: 381.8 kB / 0.5173 GB, free: 1.922 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/0.4654, allocations: 5.186 MB / 0.5223 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002636/0.468, allocations: 1.442 MB / 0.5238 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00224/0.4703, allocations: 406.3 kB / 0.5241 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006694/0.471, allocations: 123.4 kB / 0.5243 GB, free: 10.64 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.471, allocations: 0 / 0.5243 GB, free: 10.64 MB / 446.1 MB Notification: Performance of Templates: time 0.2708/0.7417, allocations: 29.49 MB / 0.5531 GB, free: 99.5 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.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.249610038474202]