Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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.001649/0.001649, allocations: 112.2 kB / 19.04 MB, free: 3.254 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.001831/0.001831, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 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.463/1.463, allocations: 225.6 MB / 250.8 MB, free: 13.38 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.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 47.92 kB / 368.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2539, allocations: 52.14 MB / 420.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01271/0.2666, allocations: 10.29 MB / 431.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005957/0.2726, allocations: 3.236 MB / 434.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008056/0.2734, allocations: 59.75 kB / 434.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.2749, allocations: 0.7453 MB / 435.2 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.2769, allocations: 0.8739 MB / 436.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007877/0.2776, allocations: 415.3 kB / 436.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003088/0.2807, allocations: 2.969 MB / 439.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001873/0.2826, allocations: 1.372 MB / 440.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001579/0.2842, allocations: 1.351 MB / 442.2 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/0.2864, allocations: 1.748 MB / 443.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000465/0.2868, allocations: 356 kB / 444.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007764/0.2876, allocations: 451.8 kB / 444.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.2887, allocations: 1.028 MB / 445.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001785/0.2904, allocations: 1.614 MB / 447.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005186/0.2956, allocations: 4.686 MB / 452 MB, free: 15.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.2956, allocations: 4 kB / 452 MB, free: 15.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2956, allocations: 0 / 452 MB, free: 15.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.598e-05/0.2957, allocations: 0 / 452 MB, free: 15.89 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.007513/0.3032, allocations: 3.336 MB / 455.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.3033, allocations: 8.031 kB / 455.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009071/0.3042, allocations: 346.9 kB / 455.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003334/0.3075, allocations: 1.769 MB / 457.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.3077, allocations: 180.8 kB / 457.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003556/0.308, allocations: 232 kB / 457.9 MB, free: 9.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005797/0.3138, allocations: 3.133 MB / 461 MB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.016e-05/0.3139, allocations: 7.953 kB / 461 MB, free: 6.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/0.3141, allocations: 99.98 kB / 461.1 MB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.3142, allocations: 108.6 kB / 461.2 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004959/0.3192, allocations: 2.696 MB / 463.9 MB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01586/0.3351, allocations: 9.656 MB / 473.6 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/0.338, allocations: 2.084 MB / 475.7 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/0.3399, allocations: 1.047 MB / 476.7 MB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003333/0.3402, allocations: 207.2 kB / 476.9 MB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.3403, allocations: 43.56 kB / 477 MB, free: 6.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.146e-06/0.3403, allocations: 4 kB / 477 MB, free: 6.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.0146/0.3549, allocations: 6.874 MB / 483.9 MB, free: 15.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.3549, allocations: 68.72 kB / 483.9 MB, free: 15.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002602/0.3575, allocations: 1.743 MB / 485.7 MB, free: 13.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.797e-05/0.3576, allocations: 49.7 kB / 485.7 MB, free: 13.31 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009535/0.3586, allocations: 1.178 MB / 486.9 MB, free: 12.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004176/0.359, allocations: 480 kB / 487.4 MB, free: 11.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005105/0.3595, allocations: 283.5 kB / 487.6 MB, free: 11.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3597, allocations: 305.1 kB / 487.9 MB, free: 11.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.361, allocations: 0.7964 MB / 488.7 MB, free: 10.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.3627, allocations: 1.201 MB / 489.9 MB, free: 8.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003063/0.3658, allocations: 2.098 MB / 492 MB, free: 6.625 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.3658, allocations: 7.938 kB / 492 MB, free: 6.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004703/0.3705, allocations: 2.672 MB / 494.7 MB, free: 3.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.3705, allocations: 12 kB / 494.7 MB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.3705, allocations: 12 kB / 494.7 MB, free: 3.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.3716, allocations: 431.2 kB / 495.1 MB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.373, allocations: 359.4 kB / 495.5 MB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007953/0.3809, allocations: 7.081 MB / 0.4908 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.3823, allocations: 103.8 kB / 0.4909 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.3824, allocations: 67.98 kB / 0.491 GB, free: 11.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001364/0.3838, allocations: 0.7939 MB / 0.4917 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003365/0.3841, allocations: 194.8 kB / 0.4919 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/0.3883, allocations: 2.364 MB / 0.4942 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.3884, allocations: 23.92 kB / 0.4943 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3884, allocations: 4 kB / 0.4943 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.3884, allocations: 7.969 kB / 0.4943 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00862/0.397, allocations: 5.1 MB / 0.4992 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.397, allocations: 4 kB / 0.4993 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.398, allocations: 236.1 kB / 0.4995 GB, free: 2.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00116/0.3992, allocations: 450.1 kB / 0.4999 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.92e-05/0.3993, allocations: 39.92 kB / 0.4999 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009165/0.4085, allocations: 8.636 MB / 0.5084 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.4085, allocations: 4 kB / 0.5084 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005781/0.4143, allocations: 3.53 MB / 0.5118 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008441/0.4151, allocations: 443.7 kB / 0.5123 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002329/0.4153, allocations: 31.98 kB / 0.5123 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009034/0.4162, allocations: 87.91 kB / 0.5124 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002972/0.4165, allocations: 116.8 kB / 0.5125 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.953e-05/0.4166, allocations: 39.94 kB / 0.5125 GB, free: 4.484 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001838/0.4185, allocations: 1.202 MB / 0.5137 GB, free: 3.289 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4185, allocations: 0 / 0.5137 GB, free: 3.289 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001663/0.4201, allocations: 0.5 MB / 0.5142 GB, free: 2.789 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,1,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.0003863/0.4205, allocations: 209.9 kB / 0.5144 GB, free: 2.578 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004101/0.4246, allocations: 2.386 MB / 0.5167 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.4246, allocations: 4 kB / 0.5167 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002622/0.4272, allocations: 1.552 MB / 0.5182 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/0.4294, allocations: 473.8 kB / 0.5187 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008877/0.4383, allocations: 5.113 MB / 0.5237 GB, free: 8.875 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00212/0.4404, allocations: 2.001 MB / 0.5256 GB, free: 6.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0014/0.4418, allocations: 443.5 kB / 0.5261 GB, free: 6.402 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/0.4422, allocations: 123.4 kB / 0.5262 GB, free: 6.281 MB / 446.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4422, allocations: 4 kB / 0.5262 GB, free: 6.277 MB / 446.1 MB Notification: Performance of Templates: time 0.2312/0.6734, allocations: 29.03 MB / 0.5545 GB, free: 94.61 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_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: 5.500686042010784]