Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001529/0.001529, allocations: 118.6 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001635/0.001635, allocations: 207.6 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.402/1.402, allocations: 227.7 MB / 247.9 MB, free: 10.16 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 59.91 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2178, allocations: 50.54 MB / 410.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL): time 0.01297/0.2307, allocations: 10.26 MB / 420.5 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006372/0.2371, allocations: 3.314 MB / 423.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.2382, allocations: 55.75 kB / 423.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.24, allocations: 0.7454 MB / 424.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.2422, allocations: 0.8777 MB / 425.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008628/0.243, allocations: 431.3 kB / 425.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003306/0.2463, allocations: 2.983 MB / 428.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/0.2488, allocations: 1.782 MB / 430.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.2505, allocations: 1.37 MB / 432 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/0.2527, allocations: 1.693 MB / 433.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005439/0.2533, allocations: 356 kB / 434.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008474/0.2541, allocations: 471.8 kB / 434.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001033/0.2552, allocations: 1.021 MB / 435.5 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.257, allocations: 1.618 MB / 437.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005174/0.2622, allocations: 4.718 MB / 441.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2622, allocations: 4 kB / 441.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.2622, allocations: 0 / 441.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.845e-05/0.2622, allocations: 3.938 kB / 441.9 MB, free: 1.59 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.006415/0.2686, allocations: 3.343 MB / 445.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2687, allocations: 12.02 kB / 445.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.2698, allocations: 378.9 kB / 445.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003192/0.273, allocations: 1.789 MB / 447.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.2732, allocations: 180.8 kB / 447.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003862/0.2736, allocations: 228 kB / 447.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005253/0.2788, allocations: 3.145 MB / 450.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.258e-05/0.2789, allocations: 7.953 kB / 450.9 MB, free: 8.305 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/0.2791, allocations: 92 kB / 451 MB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.2792, allocations: 104.6 kB / 451.1 MB, free: 8.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00472/0.2839, allocations: 2.7 MB / 453.8 MB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01553/0.2995, allocations: 9.645 MB / 463.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/0.3024, allocations: 2.084 MB / 465.6 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/0.3044, allocations: 1.045 MB / 466.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/0.3047, allocations: 203.2 kB / 466.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.3047, allocations: 47.56 kB / 466.9 MB, free: 7.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 2.645e-06/0.3047, allocations: 4 kB / 466.9 MB, free: 7.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=131): time 0.01477/0.3195, allocations: 6.874 MB / 473.7 MB, free: 0.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.3195, allocations: 68.72 kB / 473.8 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00262/0.3221, allocations: 1.763 MB / 475.6 MB, free: 14.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.3223, allocations: 45.7 kB / 475.6 MB, free: 14.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.3233, allocations: 1.19 MB / 476.8 MB, free: 13.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004458/0.3237, allocations: 476 kB / 477.3 MB, free: 13.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004841/0.3242, allocations: 283.5 kB / 477.5 MB, free: 12.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3243, allocations: 305.1 kB / 477.8 MB, free: 12.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.3257, allocations: 0.8003 MB / 478.6 MB, free: 11.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/0.3275, allocations: 1.201 MB / 479.8 MB, free: 10.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00319/0.3306, allocations: 2.098 MB / 481.9 MB, free: 8.234 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.3307, allocations: 0 / 481.9 MB, free: 8.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004755/0.3354, allocations: 2.675 MB / 484.6 MB, free: 5.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.3354, allocations: 15.94 kB / 484.6 MB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.3355, allocations: 12 kB / 484.6 MB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.3365, allocations: 415.3 kB / 485.1 MB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.3379, allocations: 363.4 kB / 485.4 MB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007861/0.3457, allocations: 7.088 MB / 492.5 MB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.3471, allocations: 103.8 kB / 492.6 MB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.3472, allocations: 67.92 kB / 492.7 MB, free: 13.05 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.00138/0.3486, allocations: 0.7978 MB / 493.5 MB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003524/0.3489, allocations: 194.8 kB / 493.6 MB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/0.3532, allocations: 2.368 MB / 496 MB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/0.3533, allocations: 15.94 kB / 496 MB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.3533, allocations: 4 kB / 496 MB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.3533, allocations: 7.969 kB / 496 MB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008933/0.3622, allocations: 5.105 MB / 0.4894 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.3622, allocations: 0 / 0.4894 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.3633, allocations: 244 kB / 0.4896 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.3644, allocations: 451 kB / 0.4901 GB, free: 3.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.715e-05/0.3645, allocations: 35.98 kB / 0.4901 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009203/0.3737, allocations: 8.646 MB / 0.4985 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.3738, allocations: 7.938 kB / 0.4986 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005791/0.3795, allocations: 3.522 MB / 0.502 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008784/0.3804, allocations: 439.7 kB / 0.5024 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002341/0.3807, allocations: 35.98 kB / 0.5024 GB, free: 6.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009169/0.3816, allocations: 87.91 kB / 0.5025 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/0.3818, allocations: 116.7 kB / 0.5026 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.088e-05/0.3819, allocations: 36 kB / 0.5027 GB, free: 6.098 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001814/0.3837, allocations: 1.214 MB / 0.5039 GB, free: 4.891 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3837, allocations: 0 / 0.5039 GB, free: 4.891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001643/0.3854, allocations: 0.5078 MB / 0.5044 GB, free: 4.383 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.000394/0.3858, allocations: 198.9 kB / 0.5045 GB, free: 4.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004084/0.3899, allocations: 2.379 MB / 0.5069 GB, free: 1.738 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3899, allocations: 4 kB / 0.5069 GB, free: 1.734 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002638/0.3925, allocations: 1.555 MB / 0.5084 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.3945, allocations: 478.6 kB / 0.5088 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008028/0.4026, allocations: 5.075 MB / 0.5138 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001926/0.4045, allocations: 2.009 MB / 0.5158 GB, free: 8.473 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001228/0.4057, allocations: 443.5 kB / 0.5162 GB, free: 8.035 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003981/0.4061, allocations: 131.4 kB / 0.5163 GB, free: 7.906 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4061, allocations: 0 / 0.5163 GB, free: 7.906 MB / 446.1 MB Notification: Performance of Templates: time 0.2151/0.6212, allocations: 28.54 MB / 0.5442 GB, free: 123.4 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches